|
WebApplicationExample
sbt has movedsbt has now completely moved to GitHub. See https://github.com/harrah/xsbt/wiki. Lift ExampleThis page used to provide an example of building a Lift web application. Now, just see http://github.com/lift/lift_sbt_prototype. $ git clone git://github.com/lift/lift_sbt_prototype $ cd lift_sbt_prototype $ sbt > update ... > jetty-run ... and browse to http://localhost:8080. See also Lift's sbt documentation. | |
The Hello Lift example link http://liftweb.net/index.php/HowTo_start_a_new_liftwebapp doesn't appear to be valid anymore.
Thanks, I updated it.
-Mark
I'm trying to convert a lift 1.1 m7 project to use sbt but cannot sort out a compilation error. The scala.tools.nsc.MainGenericRunner? is imported by the LiftConsole?, but I cannot figure out how to add the equivalent of the scala-tools-plugin which provides the class. Any ideas?
Not sure what you are seeing. I might understand a runtime error, but sbt should include scala-compiler.jar on the compile-time classpath by default. If you follow up here or on the mailing list with how to reproduce it, I'll take a look.
-Mark
I realised this is an eclipse classpath issue. I'll move it over to the group for general discussion.
Lift now recommends archetype:generate and archetype:create is unsupported.
So the Maven command to create project from 2.0-SNAPSHOT would be thus:
See: here
Thanks, Indrajit. I updated it.
Hey, Lift 2.0 has been released and "officially" supports sbt. It seems the preferred way to bootstrap a Lift/sbt project is by cloning the List sbt prototype on github: http://github.com/lift/lift_sbt_prototype. Maybe this page should be revised to reflect this and all the Maven-related stuff moved elsewhere?
Updated, thanks!
-Mark