I get a "FAIL - Application already exists at path" message when I use the
deploy task after I have used the undeploy task. The undeploy task does work
by itself, but it still leaves the directory structure /appname/WEB-INF/lib
and the strut.jar. The deploy task will work when I shut down Tomcat, remove
the leftover directory, restart Tomcat and then run the deploy task. I am
using the following:
Tomcat 5.5.12 on a windows machine with the catalina-ant.jar that comes with
Tomcat copied into my ANT lib directory. My build file has the following in
it:
<taskdef name="deploy" classname="org.apache.catalina.ant.DeployTask"/>
<taskdef name="list" classname="org.apache.catalina.ant.ListTask"/>
<taskdef name="reload" classname="org.apache.catalina.ant.ReloadTask"/>
<taskdef name="undeploy"
classname="org.apache.catalina.ant.UndeployTask"/>
<target name="install">
<deploy url="${manager.url}"
username="${manager.username}"
password="${manager.password}"
path="${app.path}"
localWar="file://${build.home}"/>
</target>
<target name="remove">
<undeploy url="${manager.url}"
username="${manager.username}"
password="${manager.password}"
path="${app.path}"/>
</target>
This use to work when I was using Tomcat 5.0.19 with the catalina-ant.jar
that came with it. What am I missing?
Thanks,
Warren Bell
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]