Well, I wasnâ€™t content enough to just develop with Netbeans, I just had to reach out to Eclipse and get the Grails/Groovy going. So, ran into SpringSource. (see here http://www.grails.org/STS+Integration ).
Couple of potential gotchas, one of which will be updated in next release Iâ€™m told:
- on windows, donâ€™t install to like c:\program files - use a path with no spacesâ€¦ ie. I installed to c:\Tools\springsource This is suspose to get fixed soon in next release of springsource
- make sure again you are pointing to a 32-bit jdk. I have the following environment variables setup. And the installer will ask you for a jdk:
GRAILS_HOME ie. C:\Projects\Grails\grails-1.1.1
JAVA_HOME ie. C:\Program Files (x86)\Java\jdk1.6.0_11
So, I created a new Grails projectâ€¦
to get around this issue or disable the native translation by putting "grails.enable.native2ascii=false" in your grails-app/conf/Config.groovy.
That did work. So, off I go again, finding my personal favorite series on Grails â€¦ starting with Mastering Grails: Build your first Grails application. I enjoy the IDE integration, and yet, I find it best to just have the command prompt window open with the IDE, and issue commands via the command prompt windowâ€¦ Although itâ€™s really easy to issue commands by using Control + G (not sure what mac shortcut is) to get a dialog that lets you issue commands quickly to the console. From there you can run-app, etcâ€¦ pretty handy. Iâ€™m really enjoying this experience, I did a quick screencast on using grails ui – great stuff. There are many plugins. The beauty of the pluginsâ€¦. is the installation for sure. Simply run, in this case
grails install-plugin grails-ui
Donâ€™t forget your jQuery plugin! 🙂 ( http://www.grails.org/plugin/jquery )
Update: I highly recommend for those wanting to learn more to check out: http://blogger.forgottenskies.com/?p=513