On advice given here, I've got tomcat configured to _not_ unpack my .war file. Then my ant 'deploy' target [not task] simply copies the .war file over to /path/to/tomcat/webapps.
Now I'm trying to use the tomcat ant tasks to automate things, and I'm running into problems. First, I can't reload this app with the ant task. It says: w:\java\bendev>ant reload Buildfile: build.xml reload: BUILD FAILED file:w:/java/bendev/build.xml:159: java.io.IOException: Server returned HTTP res ponse code: 401 for URL: http://localhost/manager/reload?path=%2Fbendev Total time: 1 second w:\java\bendev> I can reload it manually using the manager app, and I get: OK - Reloaded application at context path /bendev Then, the install task doesn't seem to work with a .war file. It "installed" my .war file under the /webapps/bendev directory instead of under /webapps where it belongs. I guess it's supposed to work with a set of loose files? What I really need ar the start and stop tasks, not install and remove which are shown in Craig's App Developer Guide: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/sample/build.xml. I see that they are present in catalina-ant.jar. Is there a set of documentation for the Tomcat ant tasks, similar to ant's user guide? For example, if I put 'ant jar task' into Google, I get this: http://ant.apache.org/manual/CoreTasks/jar.html. 'tomcat stop ant task' doesn't turn up anything useful. Does anyone have an example of how to use the start and stop tasks? I'm going to guess at the syntax based on reload, hopefully it will work. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management