My favorites | Sign in
Project Home Downloads Wiki Issues
Search
for

sbt has moved

sbt has now completely moved to GitHub.

See https://github.com/harrah/xsbt/wiki.

Getting Started

WebApplicationExample  
Updated Jul 27, 2011 by dmhar...@gmail.com

sbt has moved

sbt has now completely moved to GitHub.

See https://github.com/harrah/xsbt/wiki.

Lift Example

This 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.

Comment by david...@gmail.com, Nov 28, 2009

The Hello Lift example link http://liftweb.net/index.php/HowTo_start_a_new_liftwebapp doesn't appear to be valid anymore.

Comment by project member dmhar...@gmail.com, Nov 29, 2009

Thanks, I updated it.

-Mark

Comment by channing.walton, Dec 14, 2009

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?

Comment by project member dmhar...@gmail.com, Dec 14, 2009

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

Comment by channing.walton, Dec 15, 2009

I realised this is an eclipse classpath issue. I'll move it over to the group for general discussion.

Comment by indraj...@gmail.com, Mar 7, 2010

Lift now recommends archetype:generate and archetype:create is unsupported.

So the Maven command to create project from 2.0-SNAPSHOT would be thus:

mvn archetype:generate -U \ 
  -DarchetypeGroupId=net.liftweb \ 
  -DarchetypeArtifactId=lift-archetype-basic \ 
  -DarchetypeVersion=2.0-SNAPSHOT \
  -DarchetypeRepository=http://scala-tools.org/repo-snapshots \ 
  -DremoteRepositories=http://scala-tools.org/repo-snapshots \ 
  -DgroupId=net.liftweb.hello -DartifactId=hello-lift

See: here

Comment by project member dmhar...@gmail.com, Mar 7, 2010

Thanks, Indrajit. I updated it.

Comment by MarkTye, Jul 12, 2010

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?

Comment by project member dmhar...@gmail.com, Jul 19, 2010

Updated, thanks!

-Mark

Powered by Google Project Hosting