tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Kriger <andy.kri...@gmail.com>
Subject RE: undeploy/deploy
Date Wed, 19 Jan 2005 15:10:20 GMT
> 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


Mime
View raw message