Howardism Musings from my Awakening Dementia
My collected thoughts flamed by hubris
Home PageSend Comment

Working with Grails and Eclipse

When you issue a grails create-app command, it also creates the .project and other Eclipse-specific files. Lovely.

However, you need (as of the 0.5.6 release) the following Jar to the build:


Done using the "Properties" context menu on the project, then select Java Build Path > Libraries > Add Variable then select the GRAILS_HOME variable (what? you haven't created it?) then click the Extend button and locate the library in the lib directory.

Why does this leave a bunch of .class files all over the root directory?

On the "Properties" context menu of the project, click on the Groovy Project Properties tab and enter: web-app/WEB-INF/classes.

Tell others about this article:
Click here to submit this page to Stumble It