Tuesday, April 22, 2008

Grails IntelliJ Plugin

The Grails plugin for IntelliJ Idea 7.0 was updated to version 1.5. I was using the previous versions and they were troublesome. The 1.5 release seems to be working well so far.

Plugin Site: http://www.jetbrains.com/idea/features/groovy_grails.html

One point of note, I could not find a way to perform "grails clean" within IntelliJ so I have to have a command prompt open to clean the project now and again when things don't seem to be behaving as expected. Sometimes you have to clean when one of your domain classes changes significantly.

1 comment:

Tom said...

This is a bit of a necro post; however this is the first hit in google for "grails clean intellij" so here's my tip for 8.1:

Open File -> Settings -> External Tools.

Then set name (Grails clean), group (Grails), description (whatever you wish).

In the program, put the full path to the grails script/bat file.

For parameters put in 'clean'.

For working directory put in '$ProjectFileDir$'

Save this and now in the Tools menu there will be a 'Grails' entry, with 'grails clean' as a submenu option