Intellij not hot-deploying Grails application

Software Development Add comments
Intellij IDEA 10.5 users might have noticed an annoying bug when running Grails applications, Controller classes are not reload, although Intellij says they have been recompiled.
This error is particular to IDEa 10.5.x and Grails 2.x.x and makes Grails development nearly as slow as Java development.
Fortunately, the solution is easy. Simply add the following configuration to the “VM Parameters” field of Grails Run/Debug:
-Xmx1024m
-Xms256m
-javaagent:/Users/franklin/java/grails-2.0.1/lib/com.springsource.springloaded/springloaded-core/jars/springloaded-core-1.0.2.jar
-server
-noverify
-Dspringloaded=profile=grails

The solution has been found here:

http://grails.1312388.n4.nabble.com/Grails-2-0-0-M1-Controller-reloading-broken-under-Windows-7-again-td3712633.html

And, the bug is being tracked here:
http://youtrack.jetbrains.net/issue/IDEA-72968?projectKey=IDEA&query=grails


Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in