-
Notifications
You must be signed in to change notification settings - Fork 0
Create Lift projekt with SBT
gbatalski edited this page May 26, 2011
·
2 revisions
- Download
sbt-launch-X.X.X.jarfrom http://code.google.com/p/simple-build-tool/ - Create launcher for it as described here and add the path to the launcher to path.
- I would set the JVM Options to
-XX:MaxPermSize=256m -Xmx1Gto prevent the premature out of memory.
-
From the console run the command
sbtand create the new project with your desired name. -
Add the lift support to the new project
> *lifty is org.lifty lifty 1.6.1 -
Initialize empty lift project
> lifty create project-blank -
With
> reloadand> updatecommands reload the dependencies
- If the required libraries not found, we need to correct the Project.scala and set the currently available version of the dependencies
- For work with eclipse, we need to explore the sbt dependencies to eclipse classpath. To do so use the Sbt-Eclipsify plugin for sbt. After install reload and update the project. You should get the sbt action eclipse.
- To run the application use
> jetty-runsbt command. - Application stops by calling
> jetty-stop.