What was 0.5-SNAPSHOT has now become 0.5 final. As before, the main
change is support for GWT 2.0. More details can be found in the
release notes:
http://www.grails.org/GWT+Release+Notes
Enjoy!
Peter
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)
Caused by: groovy.lang.MissingPropertyException: No such property:
usingGoogleGin for class: _Events
at _Events.compileGwtClasses(_Events.groovy:91)
at _Events$_run_closure9.doCall(_Events.groovy:87)
at _GrailsEvents_groovy$_run_closure5.doCall(_GrailsEvents_groovy:58)
at _GrailsEvents_groovy$_run_closure5.call(_GrailsEvents_groovy)
at _GwtInternal_groovy$_run_closure2.doCall(_GwtInternal_groovy:112)
at CompileGwtModules$_run_closure1.doCall(CompileGwtModules:32)
at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)
... 10 more
Error executing script CompileGwtModules: No such property:
usingGoogleGin for class: _Events
I'am using gin 1.0 and gwt 2.0 in my app. I also removed the gin
directory in the lib directory. But always this exception ;-(
Any ideas?
Marcel
It's probably the script cache again. I'll have to try reproducing it
again and add some code to the _Install script to clear the cache.
rm -rf ~/.grails/1.1.2/scriptCache/*
Cheers,
Peter
[java] Loading inherited module 'com.google.gwt.inject.Inject'
[java] [ERROR] Unable to find 'com/google/gwt/inject/
Inject.gwt.xml' on your classpath; could be a typo, or maybe you
forgot to include a classpath entry for source?
[java] [ERROR] Line 4: Unexpected exception while processing
element 'inherits'
[java] com.google.gwt.core.ext.UnableToCompleteException: (see
previous log entries)
[java] at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad
(ModuleDefLoader.java:239)
[java] at com.google.gwt.dev.cfg.ModuleDefSchema
$BodySchema.__inherits_begin(ModuleDefSchema.java:354)
[java] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown
Source)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin
(HandlerMethod.java:223)
[java] at com.google.gwt.dev.util.xml.ReflectiveParser
$Impl.startElement(ReflectiveParser.java:270)
[java] at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
(AbstractSAXParser.java:501)
[java] at
com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement
(AbstractXMLDocumentParser.java:179)
[java] at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement
(XMLDocumentFragmentScannerImpl.java:1337)
[java] at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2740)
[java] at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
(XMLDocumentScannerImpl.java:645)
[java] at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
(XMLDocumentFragmentScannerImpl.java:508)
[java] at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
(XML11Configuration.java:807)
[java] at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
(XML11Configuration.java:737)
[java] at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
(XMLParser.java:107)
[java] at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
(AbstractSAXParser.java:1205)
[java] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
$JAXPSAXParser.parse(SAXParserImpl.java:522)
[java] at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse
(ReflectiveParser.java:327)
[java] at com.google.gwt.dev.util.xml.ReflectiveParser
$Impl.access$100(ReflectiveParser.java:48)
[java] at com.google.gwt.dev.util.xml.ReflectiveParser.parse
(ReflectiveParser.java:398)
[java] at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad
(ModuleDefLoader.java:257)
[java] at com.google.gwt.dev.cfg.ModuleDefLoader$1.load
(ModuleDefLoader.java:169)
[java] at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule
(ModuleDefLoader.java:283)
[java] at
com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath
(ModuleDefLoader.java:141)
[java] at com.google.gwt.dev.Compiler.run(Compiler.java:184)
[java] at com.google.gwt.dev.Compiler$1.run(Compiler.java:152)
[java] at com.google.gwt.dev.CompileTaskRunner.doRun
(CompileTaskRunner.java:87)
[java] at
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger
(CompileTaskRunner.java:81)
[java] at com.google.gwt.dev.Compiler.main(Compiler.java:159)
So, after deleting the script cache and have the gin/guice jars in the
lib/gwt folder I got a running 0.5 plugin.
Now I can try the other features ;-)
Thanks,
Marcel