This says everything...Excerpt from http://www.devx.com/Java/Article/17908/0/page/4 "Tomcat does not detect changes to the WAR archive, so it does not automatically deploy new versions of an application when new WAR files are copied over old ones in the Tomcat deploy directory (except in the case of statically specified Tomcat applications in the server.xml configuration file)."
Cheers, Hugo -----Original Message----- From: Dean A. Hoover [mailto:[EMAIL PROTECTED] Sent: Montag, 23. Februar 2004 16:29 To: Tomcat Users List Subject: Re: ant emulation of "Upload a WAR file to install" Thanks. I'll give that a try... when does tomcat notice the war file? Adam Hardy wrote: > On 02/23/2004 03:04 PM Dean A. Hoover wrote: > >> I am using ant 1.6 and tomcat 4.1.29. >> I have set my webapps directory to someplace >> other than the usual place. When I use >> the /manager/html/list application through >> my browser, I can use the "Upload a WAR file to install" form to put >> my war file in the webapps directory, unpack it and run it. This is >> exactly the behavior I would like to emulate in ant, but I do not see >> how. I have played around with the "install" and >> "deploy" tasks, but they do not operate the same >> as the upload form does. How can I do what the >> form does using ant? > > > You just need ant to copy the war into your APPBASE directory. Then > tomcat will do the rest, assuming that your host (in server.xml) is > configured to autoDeploy="true" and unpackWARs="true". > > > Adam --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
