Home > Grails, Groovy | > Building Grails from scratch

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.

  1. Clone the repository using git client. You can find the clone URL at http://github.com/grails/grails.
  2. In the mean time check that you've JDK 1.5+ and Ant installed.
  3. After the cloning is done go to grails/grails/ folder and run 'ant jar'. This will build the release.
  4. Set env variable GRAILS_HOME to your clone folder.
  5. 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

Grails, Groovy |

  1. No comments yet.
  1. No trackbacks yet.