ant tomcat deploy task hangs
I tried to use the catalina ant tasks to deploy my grails war into tomcat, and it's not working well in hudson. So, I am just going to do the tried and true method.
/root/local/jakarta-tomcat/jakarta-tomcat-5.0.28-8080/bin/shutdown.sh
<target name="deploy" description="--> The deploy target (initially empty)">
<delete dir="${TOMCAT_HOME}/webapps/${ant.project.name}"/>
<delete file="${TOMCAT_HOME}/webapps/${ant.project.name}.war"/>
<copy file="./${ant.project.name}.war" todir="${TOMCAT_HOME}/webapps/"/>
</target>
/root/local/jakarta-tomcat/jakarta-tomcat-5.0.28-8080/bin/startup.sh

Comments
Post new comment