Skip to content

Instantly share code, notes, and snippets.

@dominiccooney
Created May 4, 2009 21:44
Show Gist options
  • Save dominiccooney/106684 to your computer and use it in GitHub Desktop.
Save dominiccooney/106684 to your computer and use it in GitHub Desktop.
GWT Development Tips
An Ant rule for restarting Tomcat when building a GWT app:
<target name="deploy" depends="war" description="Copy WAR file to Tomcat">
<property name="apache.home"
location="/home/dominicc/apache-tomcat-6.0.18" />
<exec executable="${apache.home}/bin/shutdown.sh" />
<delete dir="${apache.home}/webapps/TestApp" failonerror="false" />
<copy todir="${apache.home}/webapps" file="TestApp.war" />
<exec executable="${apache.home}/bin/startup.sh" />
</target>
The argument to the 'gwtc' target to dump the internal AST:
<jvmarg value="-Dgwt.jjs.dumpAst=/tmp/ast"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment