Question - Can I test Lift 2.0-M2 with Scala 2.0 Beta 1 now?
My environment is OSX 10.6, Java 1.6.0_17-b04-248-10M3025.
Project created using - mvn archetype:generate -U -
DarchetypeGroupId=net.liftweb -DarchetypeArtifactId=lift-archetype-
blank -DarchetypeVersion=2.0-M2 -DremoteRepositories=http://scala-
tools.org/repo-releases -DgroupId=demo.helloworld -
DartifactId=helloworld -Dversion=1.0-SNAPSHOT
I tried creating a project using liftweb 2.0-M and I noticed that it
is still having a scala 2.7.7 dependency. I tried changing the Scala
compiler dependency to 2.8.0.Beta 1 and after issuing following maven
command - mvn clean jetty:run, I received the error below. After some
googling around, i gathered the error is the result of using scala 2.8
compiler.
[ERROR] error: error while loading MainGenericRunner, Scala signature
MainGenericRunner has wrong version
[INFO] expected: 4.1
[INFO] found: 5.0
[ERROR] one error found
I am hoping to do some explorations using Lift 2.0 + Scala 2.8 +
Eclipse 3.5.1.
Any help is greatly appreciated.
Regards
chung-onn
> Question - Can I test Lift 2.0-M2 with Scala 2.0 Beta 1 now?
you need to use code from the 280_port_refresh branch (http://github.com/dpp/liftweb).
The milestones are for 2.7.7 still.
--
Adam Warski
http://www.warski.org
http://www.softwaremill.eu
Thanks for the tip.
Cheers!
chung-onn
mvn archetype:generate -U \
-DarchetypeGroupId=net.liftweb \
-DarchetypeArtifactId=lift-archetype-basic \
-DarchetypeVersion=2.0-scala280-SNAPSHOT \
-DarchetypeRepository=http://scala-tools.org/repo-snapshots \
-DremoteRepositories=http://scala-tools.org/repo-snapshots \
-DgroupId=$1 -DartifactId=$2
Please see the following discussion for more details:
http://groups.google.com/group/liftweb/browse_thread/thread/768c6798017b5b6b/9961710446c7dd20
Best regards
Trond
Thank you! This will help to get me going in the shortest time :)
Cheers!
chung-onn
On Feb 16, 7:20 pm, tbje <trond.bjerkestr...@gmail.com> wrote:
> Hi,
> I believe the main branch is still built with scala 2.7.7 (as you
> pointed out in your post). However there is a snapshot build for scala
> 2.8 named 2.0-scala280-SNAPSHOT.
>
> mvn archetype:generate -U \
> -DarchetypeGroupId=net.liftweb \
> -DarchetypeArtifactId=lift-archetype-basic \
> -DarchetypeVersion=2.0-scala280-SNAPSHOT \
> -DarchetypeRepository=http://scala-tools.org/repo-snapshots\
> -DremoteRepositories=http://scala-tools.org/repo-snapshots\
> -DgroupId=$1 -DartifactId=$2
>
> Please see the following discussion for more details:http://groups.google.com/group/liftweb/browse_thread/thread/768c67980...