Monday, February 15, 2010

GRAILS on Eclipse

Today I setup a grails project on eclipse successfully.


1. The following requires that Eclipse with the Groovy plugin is installed. Please see Groovy Eclipse Plugin for more information.

1. After running "grails create-app" you may notice the .project and .classpath file. These Eclipse related files are created automatically and allow you to import the project into Eclipse. Import your project via File -> Import -> General -> "Existing Project into Workspace".


3. The environment variable "GRAILS_HOME" may not be set in Eclipse. Select your project, right-mouse click on it and select properties. Select the Java Build Path and here the tab "Libraries. Press "Add Variable" and then "Configure Variables". Press New and add GRAILS_HOME.(GRAILS_HOME as in installation of grails)





No comments:

Post a Comment