Source code

From Lift

Jump to: navigation, search

Contents

Getting the latest lift source code

This page describes how to fetch the latest source code for lift.

The Lift sources are kept in a Git repository, and are hosted at Github.

Install 'git'

  • Linux
    • On Debian or Ubuntu, install the git-core package (the 'git' package is GNU Interactive Tools) .
  • Windows users can try msysgit.

Working with the source code

The master (trunk) source tree can be browsed at:

http://github.com/dpp/liftweb/tree/master

To fetch a copy, run:

git clone git://github.com/dpp/liftweb.git

This will create a directory (in the current directory) called 'liftweb'. To build it, and install to your local maven repository:

cd liftweb
mvn install

To update your sources, run:

cd liftweb
git pull

Troubleshooting

Fetching sources using a git:// URL as above requires that you can connect to port 9418 at github.com. If the instructions above don't work, then the cause could be a firewall, router or proxy configuration on your local network. If such issues can't be resolved, the Subversion repository (described below) can be used instead, which allows access via the http:// protocol.

Using Subversion

The Git sources are periodically sync'ed to the subversion repository at Google Code where they were originally hosted.

See the following link, for instructions on how to get the source code using subversion:

http://code.google.com/p/liftweb/source/checkout

Further information

  • For more information about git, see the Git page.
  • To build a local copy of the Maven generated project sites (development version), run mvn site. The generated site will appear in the target directory.
  • Lift development can be followed on Twitter, see http://twitter.com/liftweb.
Personal tools