Re[2]: xerces and xalan in WEB-INF/lib is not good and needs to be changed....
Jacob Kjome <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Organization | Springfield Nuclear Plant |
| Message-ID | <[email protected]> |
Hello Christian, Friday, January 17, 2003, 10:32:41 AM, you wrote: CC> Ok, so I've updated the build.xml to NOT put xerces and xalan jars in the CC> WEB-INF/lib dir when the 'install' target is run. nice :-) CC> Per your comments on cleaning up the jars in /lib, I've added that to the CC> clean target. Note however that if Tomcat is running Ant may not be able to CC> delete these jars because Tomcat locks jars in the /lib dir... This shouldn't be much of an issue. That is always true in any build where you do a clean. I still don't think that the Barracuda webapp should exist in an auto-deploy directory specified by Tomcat. It should exist elsewhere and the build should install/reload/start/stop/remove/deploy/undeploy itself from wherever it exists. Driving all this using the build's own Ant manager tasks provides finer grained control over the server and you never have to shut down the server itself. Instead of bouncing Tomcat for every modification, we should just be running the builds catalina targets appropriately. Tomcat itself can be up 100% of the time. Only if you want to modify libs in Tomcat's library folders or other Tomcat internals should there be a need to shutdown Tomcat itself. This avoids interruption of other apps on the server. What do you think? Jake