You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Andy Kriger <an...@gmail.com> on 2005/01/19 16:10:20 UTC
RE: undeploy/deploy
> Which ant task do you use to deploy/undeploy wars? What is the url in task?
<target name="webapp-undeploy" depends="webapp-prepare" if="app-deployed">
<undeploy url="${container.mgr.url}"
username="${container.mgr.name}"
password="${container.mgr.pass}"
path="/${webapp.name}"/>
</target>
<target name="webapp-deploy" depends="webapp-prepare">
<deploy url="${container.mgr.url}"
username="${container.mgr.name}"
password="${container.mgr.pass}"
path="/${webapp.name}"
war="${webapp.war}"/>
</target>
${container.mgr.url} = http://localhost:8080/manager
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org