After putting the gwt-maps.jar somewhere (I put it into the gwt tree), then
add a line to "build.xml" like:
<pathelement location="${gwt.sdk}/gwt-maps.jar"/>
Then, in your module's (project's) xml file, add an 'inherits' line like:
<inherits name='com.google.gwt.maps.GoogleMaps'/>
Then, ant should be able to get a functional compile.
[My 4-year-old project also does some xml-parsing, so in that case, you'd
also need an inherits line to get the XML-support module::]
<inherits name='com.google.gwt.xml.XML'/>
Hope this helps someone else.
Cheers...
On Thursday, February 14, 2013 9:07:21 PM UTC-5, Dave wrote:Ok. I tried this.Use the new WebAppCreator, and create a work area for some 'SimpleMaps' example.Run ant, and the generic generated code will compile.But, as soon as you take the example code from SimpleMaps and try to compile that, thecompile will fail.There's some mumbling about various tweaks, suchas putting gwt-maps.jar into the GWT tree, or adding an 'inherits' as shown at:but none of that works. (I tried with 1.1.1 and 1.0.4, etc)I'm just talking about getting a clean compile. I can't.Not under Win-7.Not under Linux.Someone didn't do their homework (aka basic testing).So, what's my workaround, until this gets sorted???
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment