追著開發者腳步



https://github.com/playframework/Play20/wiki/Installing

Building from sources

To benefit from the latest improvements and bug fixes after the initial beta release, you may want to compile Play 2.0 from sources. You’ll need a Git client to fetch the sources.

From the shell, first checkout the Play 2.0 sources:

$ git clone git://github.com/playframework/Play20.git

Then go to the Play20/framework directory and launch the build script to enter the sbt build console:

$ cd Play20/framework
$ ./build
> update
> compile
> publish-local

Once in the sbt console, run build-repository to compile and build everything. This will also create the local Ivy repository containing all of the required dependencies.

Note that you don’t need to install sbt yourself: Play 2.0 embeds its own version (currently sbt 0.11.2).

If you want to make changes to the code you can use compile and publish-local to rebuild the framework.



$ git pull
$ ./framework/build
[Play20]


$ ./framework/package
  • tmp/*.zip



Comments