<target name="codeserver" depends="javac" description="Run development mode">
<java failonerror="true" fork="true" classname="com.google.gwt.dev.codeserver.CodeServer">
<classpath>
<pathelement location="src"/>
<path refid="project.class.path"/>
<path refid="codeserver.class.path"/>
</classpath>
<jvmarg value="-Xmx256M"/>
<arg value="-workDir"/>
<arg value="myWorkDir"/>
<arg value="my.test.FooBar"/>
</java>
</target>
Output:
deleting: ~/foo/myWorkDir/my.test.FooBar/compile-1
workDir: ~/foo/myWorkDir
binding: user.agent=safari
binding: compiler.useSourceMaps=true
binding: locale=en
Compiling module my.test.FooBar
Directory contents
$ pwd ; ls
~/foo/myWorkDir/my.test.FooBar/compile-1
compile.log war