Grails: Getting Started in NetBeans 6.7
NetBeans 6.7 Beta is a good IDE for Grails development, but getting a Grails' project configured isn't always straight forward. Here's a walkthrough to help you get up and running.
- Download the Groovy documentation and unzip it to your preferred directory. This directory will be referred to later when configuring Grails within NetBeans.
- Download Grails and unzip it to your preferred directory. This directory will be referred to later when configuring Grails within NetBeans.
- Download the Java SE version of the latest NetBeans 6.7 release. The most recent release as of this writing is tagged 'Beta' which may be found at: http://download.netbeans.org/netbeans/6.7/. Please note, Grails is supported in all of the available NetBeans 6.7 bundles. I've personally found that the Java SE version is the best starting point for me.
- Install NetBeans as outlined on the installation page
- Once installation has completed, launch the IDE
- Select Activate Features

- Select Available Plugins >> Groovy and Grails

- Click Install
- Follow the prompts to complete the installation of the plugin
- Restart the IDE
- In NetBeans, select File >> New Project
- Select Groovy >> Grails Application

- Select Next
- Select Configure Grails

- Set the Groovy Doc and Grails Home paths. Make sure to select the 'html' directory within the unzipped Groovy Docs folder

- Select Ok
- Select Finish
- Your done! Enjoy developing your Grails application
- Special note: To speed up NetBeans performance, close the tasks tab at the bottom of the IDE
Comments:
Netbeans Stability
by Sean Tindale on
June 11, 2009
at 9:43 PM CDT
Anyone else find that the auto code completion tips become VERY slow at times?
Auto Code Completion Slow
by Dean Del Ponte on
June 12, 2009
at 4:21 PM CDT
I've found that they can slow down (2-3 seconds), but it still remains usable. I actually just had NetBeans 6.7 RC2 crash on me the other day which is a little disconcerting, but it's also probably a good sign that crashes are an anomaly.

More!