Upgrading Grails, GWT, grails-gwt plugin and beyond
@Remotespots project was started a couple of months ago and and after some time all the technologies were updated to their current versions (Grails 1.2.2, GWT 2.0 which is a huge change from 1.7, and finally grails-gwt 0.5). Since we were busy w/ the features we ignored the upgrade but time has come to sent Remotespots to the wild, and we want it to be ready to its limits. Below you can find the steps and obstacles we encountered during the upgrade process. (I switched to Ubuntu from Windows XP, my headphones are still not working but at least I can open Eclipse under 60 seconds! so the things below is tested on Ubuntu 9.04)
- Download and change GRAILS_HOME to new grails version (1.2.2)
- Run grails upgrade
- Run install-plugin gwt (so that it installs 0.5)
- First obstacle
Error executing script CompileGwtModules: No such property: usingGoogleGin for class: _Events
gant.TargetMissingPropertyException: No such property: usingGoogleGin for class: _Events
at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:329)
at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334)
at gant.Gant$_dispatch_closure6.doCall(Gant.groovy)
at gant.Gant.withBuildListeners(Gant.groovy:344)
at gant.Gant.this$2$withBuildListeners(Gant.groovy)
at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
at gant.Gant.dispatch(Gant.groovy:334)
at gant.Gant.this$2$dispatch(Gant.groovy)
at gant.Gant.invokeMethod(Gant.groovy)
at gant.Gant.processTargets(Gant.groovy:495)
at gant.Gant.processTargets(Gant.groovy:480)
To solve it, run grails clean command and empty ~\.grails\1.2.2\scriptCache folder. I found this solution from this link.
grails GWT module ... may need to be (re)compiled
To solve it, run grails compile-gwt-modules command and refresh firefox w/ ctrl+f5 OR alt+shift+r






![Always return [Explore #2] A photo on Flickr](http://farm5.static.flickr.com/4098/4881930066_b3d279bcf9_s.jpg)