How to build lift application with latest Lift (~2.4), Scala 2.9.1 and Eclipse Jetty 8?

44 views
Skip to first unread message

Rogach

unread,
Dec 25, 2011, 3:31:16 AM12/25/11
to lif...@googlegroups.com
I managed to do it only with Lift 2.3, Scala 2.8.1, and Mortbay Jetty 6. 
build.sbt:

scalaVersion := "2.8.1"

libraryDependencies ++= Seq(
  "net.liftweb" %% "lift-webkit" % "2.3",
  "org.mortbay.jetty" % "jetty" % "6.1.22"
)

However, when I change versions, like this:

scalaVersion := "2.9.1"

libraryDependencies ++= Seq(
  "org.eclipse.jetty" % "jetty-server" % "8.1.0.RC1",
  "org.eclipse.jetty" % "jetty-webapp" % "8.1.0.RC1",
  "net.liftweb" %% "lift-webkit" % "2.4-SNAPSHOT"
)

I get error:

[warn] problem while downloading module descriptor: http://scala-tools.org/repo-snapshots/net/liftweb/lift-common_2.9.1/2.4-SNAPSHOT/lift-common_2.9.1-2.4-SNAPSHOT.pom: invalid sha1: expected=d787f29329e6606f0a8349dbfcb321aecd4c476a computed=89d109e76dbbd3402e8209bf34b1b23a3bca7094 (940ms)
[warn] module not found: net.liftweb#lift-common_2.9.1;2.4-SNAPSHOT

Is it possible to do this with this configuration? And if yes, where do I find the right artifacts?

Diego Medina

unread,
Dec 25, 2011, 6:23:25 PM12/25/11
to lif...@googlegroups.com

Try using lift 2.4-RC1

Diego
Sent from my android cell

--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code

Kevin

unread,
Dec 27, 2011, 11:52:43 AM12/27/11
to Lift
This is an example I post, hope this is helpful to you (but I am not
using Eclipse)

https://gist.github.com/1524328

Peter Petersson

unread,
Dec 27, 2011, 12:35:28 PM12/27/11
to lif...@googlegroups.com
Take a look at
https://github.com/karma4u101
Chose one of the following examples, they all uses lift 2.4-RC1, Scala
2.9.1, Jetty 8 and comes with the **Eclipse plug-in** and a sbt launcher
jar.
Basic-SquerylRecord-User-Setup, SEO-Friendly-Menu-Params,
Reactive-Templating-With-Foundation, Templating-With-Twitter-Bootstrap
best regards
Peter Petersson

Reply all
Reply to author
Forward
0 new messages