I made the changes suggested and it works like a charm. As far as switching to Linux, I wouldn't want to do that, I enjoy banging my head up against the wall.
Thanks all, > -----Original Message----- > From: Warren [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 28, 2006 11:14 AM > To: users@tomcat.apache.org > Subject: Ant Deploy Task Problem > > > 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] > > __________ NOD32 1.1459 (20060327) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.eset.com > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]