I am starting to work with g4jsf (see thread between me and Sergey Smirnov
titled "Example EJB3 GWT apps?" on code.google.com/webtoolkit forum). I have
just downloaded the a4j-gwtMap and a4j-gwtKickStart samples.
In each one, I copied build.properties.sample to build.properties and edited it
appropriately. Then I ran "ant" in each project's ant directory.
In a4j-gwtKickStart, the default ant target (ant war) ran perfectly.
In a4j-gwtMap, it failed with this error:
[java] Loading module 'demo.gwt.GoogleMaps'
[java] [ERROR] Unable to find 'demo/gwt/GoogleMaps.gwt.xml' on your
classpath; could be a typo, or maybe you forgot to include a classpath entry for
[java] [ERROR] Build failed
[java] Java Result: 1
This turns out to be because the only copy of GoogleMaps.gwt.xml in that zip
file is at the following path in the zip:
Which is indeed not anywhere on the classpath for the compile.js target. And it
seems like the wrong place for it anyway, since all the classes should be under
the "build" directory.
In the properly working a4j-gwtKickStart sample, the corresponding .gwt.xml file
Which makes much more sense and is correct.
Please fix the broken sample source zip file... it would seem that you haven't
had too many people try it, if no one has noticed this error yet :-\