The target below is used by Scarab's build file to upgrade our distribution of Tomcat based off a standard binary distribution of Tomcat 4.1.x. Note that I put the xercesImpl.jar into server/lib because of backwards compatibility issues with Xerces. Why this isn't done by default is beyond me. It would save people a lot of headaches.
With little modification, this can be used as the basis to create a minimal Tomcat distribution. The only issue remaining is that one needs to come up with a web.xml that has all the Jasper and other crap removed... http://scarab.tigris.org/source/browse/scarab/src/tomcat-4.1/conf/web.xml?re v=1.1&content-type=text/x-cvsweb-markup <target name="upgrade-tomcat-4-1-bin"> <echo> Upgrading Tomcat 4.1 from: ${tomcat.binary.dir} </echo> <copy todir="${tomcat.dist.dir}/bin" filtering="no"> <fileset dir="${tomcat.binary.dir}/bin"/> </copy> <copy todir="${tomcat.dist.dir}/common/endorsed" filtering="no"> <fileset dir="${tomcat.binary.dir}/common/endorsed"> <include name="**/xmlParserAPIs.jar"/> </fileset> </copy> <copy todir="${tomcat.dist.dir}/server/lib" filtering="no"> <fileset dir="${tomcat.binary.dir}/common/endorsed"> <include name="**/xercesImpl.jar"/> </fileset> </copy> <copy todir="${tomcat.dist.dir}/common/lib" filtering="no"> <fileset dir="${tomcat.binary.dir}/common/lib"> <include name="**/commons-collections.jar"/> <include name="**/naming-common.jar"/> <include name="**/naming-resources.jar"/> <include name="**/servlet.jar"/> </fileset> </copy> <copy todir="${tomcat.dist.dir}/server/lib" filtering="no"> <fileset dir="${tomcat.binary.dir}/server/lib"> <include name="**/catalina.jar"/> <include name="**/commons-beanutils.jar"/> <include name="**/commons-digester.jar"/> <include name="**/commons-digester.jar"/> <include name="**/servlets-common.jar"/> <include name="**/servlets-default.jar"/> <include name="**/servlets-invoker.jar"/> <include name="**/tomcat-coyote.jar"/> <include name="**/tomcat-http11.jar"/> <include name="**/tomcat-util.jar"/> </fileset> </copy> </target> -jon -- StudioZ.tv /\ Bar/Nightclub/Entertainment 314 11th Street @ Folsom /\ San Francisco http://studioz.tv/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>