Grails 2.2 and Groovy / Grails Tool Suite



Update: The new release of GGTS 3.2.0 fixes these issues and comes with the Groovy 2.0 compiler installed and configured as the default. You no longer need any updates or patches for GGTS to work with Grails 2.2.x.

Well, Grails 2.1.3 was released this week with 2.2.0 showing up the next day. If you use the Groovy / Grails Tool Suite for development, you will find that running certain Grails commands like run-app no longer work from within GGTS (they still work fine from the command line).

Until the next update to GGTS is released you can apply this update supplied by the nice folks at SpringSource:

  1. From the GGTS Help menu, choose Install New Software.
  2. Paste the following URL into the Work With field - http://dist.springsource.com/snapshot/TOOLS/grails-ide/nightly
  3. In the components list that appears, open the Core /Grails IDE for Eclipse item and check Grails IDE.
    GGTSUpdate
  4. Click Next, and continue with the defaults until the update is installed.

Now you are ready to try all the cool new stuff in Grails.

Installing a Grails Development Environment on Linux


In this Grails Example, we will set up our development environment on a Linux system.

Video #6 shows how to install Grails and Java on Linux

Video #7 shows how to install Eclipse and the Grails extensions on Linux

Installing a Grails Development Environment on OS X


Updated for Grails 2.1.1
Video #4: In this Grails Example, we will set up our development environment on an OS X system.

This first video shows you how to install Grails and Java on OS X. To install Grails, you will need a Java Developers Kit (www.apple.com), and the Grails libraries (www.grails.org). This video will show you how to download and install both. It then shows how to set up the appropriate Bash profile to allow you to run Grails commands from the terminal.

Video #5: In the second video, you learn how to install an Integrated Development Environment (IDE) based on Eclipse called the Groovy/Grails Tool Suite. This tool is pre-configured for Groovy and Grails to give you features such as syntax highlighting and code completion. The video shows you how to install it and configure it for the Grails 2.1.1 environment that you installed in the previous video.