<target name="ajax-compile">
<java classpathref="compile.gwt"
fork="true"
dir="C:/gwt-windows-1.0.20"
classname="com.google.gwt.dev.GWTCompiler">
<arg value="-out"/>
<arg value="${gwt.output}"/>
<arg value="%*"/>
<arg
value="com.shoptick.financials.ajax.client.FinancialDocumentInterface"/>
</java>
</target>
Just make sure the classpath referred to by compile.gwt includes the
gwt jars and the the source for your entry point class and its
dependencies. Perhaps someone from google will let me know if this is
an unforgivable hack or not.
<path id="gwt.classpath">
<pathelement location="${project.dir}/src"/>
<pathelement location="${gwt.sdk.location}/gwt-user.jar"/>
<pathelement location="${gwt.sdk.location}/gwt-dev-windows.jar"/>
</path>
<target name="compile">
<java classpathref="gwt.classpath"
classname="com.google.gwt.dev.GWTCompiler"
fork="true">
<arg value="-out"/>
<arg value="${output.dir}"/>
<arg value="${entry.point.class}"/>
</java>
</target>