Hello Juan,
if you intend to just compile your gwt pages inside a given directory, and then
zip it, you can invoke directly the GWT compiler (class
"com.google.gwt.dev.Compiler" with the right parameters:
- "war" : the target directory
- the modules to be compiled
Your classpath must contain the user-dev.jar and gwt-user.jar, the source code
(.java plain text), the source code compiled (as usual), the common classes (as
a jar for example).
I send you a sample (but truncated) ant code, I use on a project:
<java failonerror="true" fork="true" classname="com.google.gwt.dev.Compiler">
<classpath>
<pathelement location="${gwt-source-code}" />
<pathelement location="${gwt-source-classes}" />
<path refid="gwt.class.path" />
<pathelement location="common.jar" />
</classpath>
<jvmarg value="-Xmx256M" />
<arg value="-war" />
<arg value="${target-directory}" />
<!-- modules to be compiled -->
<arg value="Module1" />
<arg value="Module2" />
</java>
I hope this will help you.
Best regards,
Thierry Boileau
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2710068