T
The Abrasive Sponge
Hey everyone,
Anybody experience a problem with the tomcat undeploy ant task for
version Tomcat 5.5.4? The undeploy task is supposed to remove all files
under the work directory and the webapps directory and not make it
available anymore. All it seems to do is stop the webapp, but not undeploy.
Here is a copy of my ant task
<taskdef file="tomcat-tasks.properties">
<classpath>
<pathelement
path="${tomcat.home}/server/lib/catalina-ant.jar"/>
</classpath>
</taskdef>
<target name="tomcat-remove">
<undeploy url="${tomcat.manager.url}"
username="${tomcat.username}"
password="${tomcat.password}"
path="/${webapp.name}"/>
</target>
tomcat-tasks.properties looks like this:
deploy=org.apache.catalina.ant.DeployTask
install=org.apache.catalina.ant.InstallTask
list=org.apache.catalina.ant.ListTask
reload=org.apache.catalina.ant.ReloadTask
remove=org.apache.catalina.ant.RemoveTask
resources=org.apache.catalina.ant.ResourcesTask
roles=org.apache.catalina.ant.RolesTask
start=org.apache.catalina.ant.StartTask
stop=org.apache.catalina.ant.StopTask
undeploy=org.apache.catalina.ant.UndeployTask
Thanks for any help.
Anybody experience a problem with the tomcat undeploy ant task for
version Tomcat 5.5.4? The undeploy task is supposed to remove all files
under the work directory and the webapps directory and not make it
available anymore. All it seems to do is stop the webapp, but not undeploy.
Here is a copy of my ant task
<taskdef file="tomcat-tasks.properties">
<classpath>
<pathelement
path="${tomcat.home}/server/lib/catalina-ant.jar"/>
</classpath>
</taskdef>
<target name="tomcat-remove">
<undeploy url="${tomcat.manager.url}"
username="${tomcat.username}"
password="${tomcat.password}"
path="/${webapp.name}"/>
</target>
tomcat-tasks.properties looks like this:
deploy=org.apache.catalina.ant.DeployTask
install=org.apache.catalina.ant.InstallTask
list=org.apache.catalina.ant.ListTask
reload=org.apache.catalina.ant.ReloadTask
remove=org.apache.catalina.ant.RemoveTask
resources=org.apache.catalina.ant.ResourcesTask
roles=org.apache.catalina.ant.RolesTask
start=org.apache.catalina.ant.StartTask
stop=org.apache.catalina.ant.StopTask
undeploy=org.apache.catalina.ant.UndeployTask
Thanks for any help.