Building Grails from scratch
November 13th, 2009
If you need the latest possible version of Grails (not release) you can download a fresh build from Hudson or build it yourself. The second options is fairly easy.
- Clone the repository using git client. You can find the clone URL at http://github.com/grails/grails.
- In the mean time check that you've JDK 1.5+ and Ant installed.
- After the cloning is done go to grails/grails/ folder and run 'ant jar'. This will build the release.
- Set env variable GRAILS_HOME to your clone folder.
- In your Grails project (not the Grails sources) when you want to use your fresh build, go to application.properties and change app.grails.version to a new version. For example: app.grails.version = 1.2-SNAPSHOT
That's all. Your project should run now with your fresh build. More detailed information can be found here: http://www.grails.org/GrailsDevEnvironment