[Lift] Re: Problem in Lift 1.1-SNAPSHOT ?

2009-12-17 Thread ngocdaothanh
I checkout the source code from GitHub, do "mvn clean compile" and the
output is:

lift-modules/lift-jta/src/main/scala/net/liftweb/transaction/
TransactionContext.scala:206: error: class TransactionContext needs to
be abstract, since method getUnitName in trait ScalaEMFactory of type
=> String is not defined
class TransactionContext(private implicit val transactionService:
TransactionService)
  ^
one error found

The source code from GitHub is not always compilable.


On Dec 18, 3:17 am, David Pollak 
wrote:
> Did you do an "mvn clean compile"?
>
> On Thu, Dec 17, 2009 at 9:27 AM, earthling_paul wrote:
>
>
>
> > While compiling my samples with Lift 1.1-SNAPSHOT I get this Compiler-
> > Error:
>
> > [ERROR] D:\Projekte\TestProjects\hello-lift-11\src\main\scala\net
> > \liftweb\hello\snippet\TD.scala:76: error: object creation impossible,
> > since method doSync in trait AnyVarTrait of type [F](=> F)F is not
> > defined
> > [INFO] object QueryNotDone extends SessionVar(false)
>
> > Any ideas ?
> > Regards Paul
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Lift" group.
> > To post to this group, send email to lift...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > liftweb+unsubscr...@googlegroups.com
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/liftweb?hl=en.
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
> Follow me:http://twitter.com/dpp
> Surf the harmonics

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.




[Lift] Re: Problem in Lift 1.1-SNAPSHOT ?

2009-12-17 Thread ngocdaothanh
I am sorry. That compilation error comes from Lift's branch for Scala
2.8.


On 12月18日, 午前8:38, David Pollak  wrote:
> On Thu, Dec 17, 2009 at 2:08 PM, ngocdaothanh wrote:
>
> > I checkout the source code from GitHub, do "mvn clean compile" and the
> > output is:
>
> > lift-modules/lift-jta/src/main/scala/net/liftweb/transaction/
> > TransactionContext.scala:206: error: class TransactionContext needs to
> > be abstract, since method getUnitName in trait ScalaEMFactory of type
> > => String is not defined
> > class TransactionContext(private implicit val transactionService:
> > TransactionService)
> >      ^
> > one error found
>
> > The source code from GitHub is not always compilable.
>
> This is simply not true.  The code on the master branch always compiles.  I
> just did a checkout and compilation of the lift-jta module and it worked
> just fine.
>
>
>
>
>
> > On Dec 18, 3:17 am, David Pollak 
> > wrote:
> > > Did you do an "mvn clean compile"?
>
> > > On Thu, Dec 17, 2009 at 9:27 AM, earthling_paul  > >wrote:
>
> > > > While compiling my samples with Lift 1.1-SNAPSHOT I get this Compiler-
> > > > Error:
>
> > > > [ERROR] D:\Projekte\TestProjects\hello-lift-11\src\main\scala\net
> > > > \liftweb\hello\snippet\TD.scala:76: error: object creation impossible,
> > > > since method doSync in trait AnyVarTrait of type [F](=> F)F is not
> > > > defined
> > > > [INFO] object QueryNotDone extends SessionVar(false)
>
> > > > Any ideas ?
> > > > Regards Paul
>
> > > > --
>
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "Lift" group.
> > > > To post to this group, send email to lift...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > liftweb+unsubscr...@googlegroups.com
> > 
>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/liftweb?hl=en.
>
> > > --
> > > Lift, the simply functional web frameworkhttp://liftweb.net
> > > Beginning Scalahttp://www.apress.com/book/view/1430219890
> > > Follow me:http://twitter.com/dpp
> > > Surf the harmonics
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Lift" group.
> > To post to this group, send email to lift...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > liftweb+unsubscr...@googlegroups.com
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/liftweb?hl=en.
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
> Follow me:http://twitter.com/dpp
> Surf the harmonics

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.




[Lift] Re: Problem in Lift 1.1-SNAPSHOT ?

2009-12-18 Thread earthling_paul
David,

mvn clean compile

worked. Thanks!

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.




[Lift] Re: Problem in Lift 1.1-SNAPSHOT ?

2009-12-31 Thread Java1Guy
I'm not quite understanding... I just got the zip files from the
download page of the GitHub (http://github.com/dpp/liftweb/downloads)
for both 1.1-M7 and Lift-1.1-M8-release.
Both of them fail the build with the same error:
C:\Users\mark\Library\Lift-1.1-M7\lift-modules\lift-jta\src\main\scala
\net\liftweb\transaction\TransactionContext.scala:206: error: class
TransactionContext needs to be abstract, since method getUnitName in
trait ScalaEMFactory of type => String is not defined
class TransactionContext(private implicit val transactionService:
TransactionService)
  ^
one error found

Are those snapshots/releases not "complete"?
I ran "mvn install" (no clean, since I just downloaded the zip...)
According to the pom, the Scala version they want is 2.7.7.  I imagine
maven gets the compiler from the proper scala jar file instead of
using the "system" compiler.  Even if that's not true, my SCALA_HOME
points to 2.7.7 and 'which scalac' points to the 2.7.7 version.
(FWIW, this also happens for 'mvn clean install' not surprisingly)

I guess since it's in the jta module I don't really care since I'm not
using that...

Cheers, Mark

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.




Re: [Lift] Re: Problem in Lift 1.1-SNAPSHOT ?

2009-12-17 Thread David Pollak
On Thu, Dec 17, 2009 at 2:08 PM, ngocdaothanh wrote:

> I checkout the source code from GitHub, do "mvn clean compile" and the
> output is:
>
> lift-modules/lift-jta/src/main/scala/net/liftweb/transaction/
> TransactionContext.scala:206: error: class TransactionContext needs to
> be abstract, since method getUnitName in trait ScalaEMFactory of type
> => String is not defined
> class TransactionContext(private implicit val transactionService:
> TransactionService)
>  ^
> one error found
>
> The source code from GitHub is not always compilable.
>

This is simply not true.  The code on the master branch always compiles.  I
just did a checkout and compilation of the lift-jta module and it worked
just fine.


>
>
> On Dec 18, 3:17 am, David Pollak 
> wrote:
> > Did you do an "mvn clean compile"?
> >
> > On Thu, Dec 17, 2009 at 9:27 AM, earthling_paul  >wrote:
> >
> >
> >
> > > While compiling my samples with Lift 1.1-SNAPSHOT I get this Compiler-
> > > Error:
> >
> > > [ERROR] D:\Projekte\TestProjects\hello-lift-11\src\main\scala\net
> > > \liftweb\hello\snippet\TD.scala:76: error: object creation impossible,
> > > since method doSync in trait AnyVarTrait of type [F](=> F)F is not
> > > defined
> > > [INFO] object QueryNotDone extends SessionVar(false)
> >
> > > Any ideas ?
> > > Regards Paul
> >
> > > --
> >
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Lift" group.
> > > To post to this group, send email to lift...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > liftweb+unsubscr...@googlegroups.com
> 
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/liftweb?hl=en.
> >
> > --
> > Lift, the simply functional web frameworkhttp://liftweb.net
> > Beginning Scalahttp://www.apress.com/book/view/1430219890
> > Follow me:http://twitter.com/dpp
> > Surf the harmonics
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Lift" group.
> To post to this group, send email to lift...@googlegroups.com.
> To unsubscribe from this group, send email to
> liftweb+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.




Re: [Lift] Re: Problem in Lift 1.1-SNAPSHOT ?

2009-12-18 Thread David Pollak
On Thu, Dec 17, 2009 at 10:16 PM, ngocdaothanh wrote:

> I am sorry. That compilation error comes from Lift's branch for Scala
> 2.8.
>

The 2.8 branch is not a complete port of Lift.  It's lift-base, lift-mapper
and the lift-examples/example code.  We will complete the port (the other
Lift modules) once 2.8 Beta 1 is out and the Scala depencies are ported to
2.8 Beta1


>
>
> On 12月18日, 午前8:38, David Pollak  wrote:
> > On Thu, Dec 17, 2009 at 2:08 PM, ngocdaothanh  >wrote:
> >
> > > I checkout the source code from GitHub, do "mvn clean compile" and the
> > > output is:
> >
> > > lift-modules/lift-jta/src/main/scala/net/liftweb/transaction/
> > > TransactionContext.scala:206: error: class TransactionContext needs to
> > > be abstract, since method getUnitName in trait ScalaEMFactory of type
> > > => String is not defined
> > > class TransactionContext(private implicit val transactionService:
> > > TransactionService)
> > >  ^
> > > one error found
> >
> > > The source code from GitHub is not always compilable.
> >
> > This is simply not true.  The code on the master branch always compiles.
>  I
> > just did a checkout and compilation of the lift-jta module and it worked
> > just fine.
> >
> >
> >
> >
> >
> > > On Dec 18, 3:17 am, David Pollak 
> > > wrote:
> > > > Did you do an "mvn clean compile"?
> >
> > > > On Thu, Dec 17, 2009 at 9:27 AM, earthling_paul <
> paul.ber...@gmail.com
> > > >wrote:
> >
> > > > > While compiling my samples with Lift 1.1-SNAPSHOT I get this
> Compiler-
> > > > > Error:
> >
> > > > > [ERROR] D:\Projekte\TestProjects\hello-lift-11\src\main\scala\net
> > > > > \liftweb\hello\snippet\TD.scala:76: error: object creation
> impossible,
> > > > > since method doSync in trait AnyVarTrait of type [F](=> F)F is not
> > > > > defined
> > > > > [INFO] object QueryNotDone extends SessionVar(false)
> >
> > > > > Any ideas ?
> > > > > Regards Paul
> >
> > > > > --
> >
> > > > > You received this message because you are subscribed to the Google
> > > Groups
> > > > > "Lift" group.
> > > > > To post to this group, send email to lift...@googlegroups.com.
> > > > > To unsubscribe from this group, send email to
> > > > > liftweb+unsubscr...@googlegroups.com
> 
> >
> > > 
> 
> >
> >
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/liftweb?hl=en.
> >
> > > > --
> > > > Lift, the simply functional web frameworkhttp://liftweb.net
> > > > Beginning Scalahttp://www.apress.com/book/view/1430219890
> > > > Follow me:http://twitter.com/dpp
> > > > Surf the harmonics
> >
> > > --
> >
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Lift" group.
> > > To post to this group, send email to lift...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > liftweb+unsubscr...@googlegroups.com
> 
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/liftweb?hl=en.
> >
> > --
> > Lift, the simply functional web frameworkhttp://liftweb.net
> > Beginning Scalahttp://www.apress.com/book/view/1430219890
> > Follow me:http://twitter.com/dpp
> > Surf the harmonics
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Lift" group.
> To post to this group, send email to lift...@googlegroups.com.
> To unsubscribe from this group, send email to
> liftweb+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.




Re: [Lift] Re: Problem in Lift 1.1-SNAPSHOT ?

2010-01-01 Thread Timothy Perrett
1.1-M7 is a broken release. Dont use it. The latest is M8, also available in 
the downloads section, so use that instead. 

Cheers, Tim

On 1 Jan 2010, at 02:52, Java1Guy wrote:

> I'm not quite understanding... I just got the zip files from the
> download page of the GitHub (http://github.com/dpp/liftweb/downloads)
> for both 1.1-M7 and Lift-1.1-M8-release.
> Both of them fail the build with the same error:
> C:\Users\mark\Library\Lift-1.1-M7\lift-modules\lift-jta\src\main\scala
> \net\liftweb\transaction\TransactionContext.scala:206: error: class
> TransactionContext needs to be abstract, since method getUnitName in
> trait ScalaEMFactory of type => String is not defined
> class TransactionContext(private implicit val transactionService:
> TransactionService)
>  ^
> one error found
> 
> Are those snapshots/releases not "complete"?
> I ran "mvn install" (no clean, since I just downloaded the zip...)
> According to the pom, the Scala version they want is 2.7.7.  I imagine
> maven gets the compiler from the proper scala jar file instead of
> using the "system" compiler.  Even if that's not true, my SCALA_HOME
> points to 2.7.7 and 'which scalac' points to the 2.7.7 version.
> (FWIW, this also happens for 'mvn clean install' not surprisingly)
> 
> I guess since it's in the jta module I don't really care since I'm not
> using that...
> 
> Cheers, Mark
> 
> --
> 
> You received this message because you are subscribed to the Google Groups 
> "Lift" group.
> To post to this group, send email to lift...@googlegroups.com.
> To unsubscribe from this group, send email to 
> liftweb+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/liftweb?hl=en.
> 
> 
> 

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.