[ANN] Version 0.5 of the GWT plugin released

21 views
Skip to first unread message

Peter Ledbrook

unread,
Jan 27, 2010, 3:41:46 AM1/27/10
to grail...@googlegroups.com
Hi everyone,

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

Marcel Wagner

unread,
Feb 2, 2010, 7:29:40 AM2/2/10
to grails-gwt
Hi, I tried the new release, comming from 0.5-SNAPSHOT. But I'am
getting an exception running the compile-gwt-modules command:

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

Peter Ledbrook

unread,
Feb 2, 2010, 8:10:22 AM2/2/10
to grail...@googlegroups.com
> Any ideas?

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

Marcel Wagner

unread,
Feb 2, 2010, 8:17:47 AM2/2/10
to grails-gwt
Yes, that's it, deleting the cache, the error is gone, but now it
seems that gin is not found.
Any trick to configure it? It is only in the classpath of eclipse and
the gin and guice jars are in the lib directory.

[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)

Marcel Wagner

unread,
Feb 2, 2010, 10:03:55 AM2/2/10
to grails-gwt
Please ignore my above post, I read in the release notes: You no
longer have to manually implement the workaround for Google Gin - it
works out-of-the-box.
I missinterpreted this in removing the gwt directory in the lib folder
containing the redundant gin/guice jars (In my setup I also have them
in the lib directory).

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

Stan B

unread,
Feb 21, 2010, 8:59:32 PM2/21/10
to grails-gwt
So I set it up and started the Dev Mode. Then I hit launch browser.
Everythings fine. The only issue I'm experiencing is that it's not
updating the client when I change the client java code.

Stan B

unread,
Feb 22, 2010, 7:05:57 PM2/22/10
to grails-gwt
got it !
had to append : ?gwt.codesvr=127.0.0.1:9997 to url
Reply all
Reply to author
Forward
0 new messages