This post has been migrated from www.experimentsincode.com, we apologise if some of the images or content is missing

This post has been migrated, original date 19 Oct 2009 I am starting to play around with the Lift Framework which my friend Tim P is involved in (and keeps telling me about at every pub trip!). So there are a couple of commands to get a project created and started with Lift. Once you have the everything installed (see the Lift site for details on installation prerequisites) to create a new project enter the command:
mvn archetype:generate -DarchetypeCatalog=http://scala-tools.org/
You will get asked a few questions by the installer and then you should have your project setup. To run the new project navigate to the root directory of the project and type:
mvn jetty:run
This will run the site and start a small web server. You may notice that it does a lot of checks and downloads any components you are missing. If want to skip this check add -o to the end. This will run it in offline mode:
mvn jetty:run -o
To stop the server running hit Ctrl-c on a Windows machine (you will have to ask Tim about other systems). To recompile to project without stopping the serve, remember to open a different console window:
mvn compile
No I have this a reference I shouldn't need to keep looking it up Smile