Created
May 4, 2009 21:44
-
-
Save dominiccooney/106684 to your computer and use it in GitHub Desktop.
GWT Development Tips
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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