Download NetBeans!

20070803 Friday August 03, 2007

Ant... a Bridge between Grails and NetBeans IDE

In the Grails world, project commands for deployment, building, cleaning, and so on, are handled by Groovy. But Ant scripts provide hooks to the Groovy scripts, which means that integrating Grails project commands in NetBeans IDE is as easy as sticking the Grails Ant targets into the NetBeans build.xml, which is one of the files that is injected into Grails source structures when a Grails application is opened in the IDE. And hooking those targets to the NetBeans IDE web application project commands is as simple linking them to the Ant targets that are invoked when the related project-level menu item is selected. So, that's another step forward here, so that my development environment for Grails is now as follows. Take special note of the build.xml file, which is exposed in the Projects window, revealing all the Grails Ant targets for easy access, which can be invoked right there:

Note: Above, the editor shows... some basic syntax coloring for Groovy and for GSP files.

Aug 03 2007, 01:15:34 PM PDT Permalink