On Sat, 03 Aug 2002 21:00:17 -0700, Patrick Luby wrote: > Costin, > > If it helps, you can exclude org/apache/catalina/launcher/** from the > build if you are not using commons-launcher. This package is only used > by the Launcher's XML files and has no other packages depend on this > package. It may be a good idea to move the ant tasks/types that you need from sandbox into oac.launcher. I think they should be in either tomcat or ant ( preferably). Later on, after things stabilise we can propose it for commons proper. > Also, I noticed that you are compiling the ${taglibs.home}/standard/src > directory. If it helps, you don't need to do this as the expression > language classes are already compiled and checked into the > jakarta-tomcat-jasper/jasper2/lib/jsp20el.jar. My goal was is have all the source that directly affects tomcat compiled. Not necesarily complete gump-style, but at least 'our' code. Costin > > Patrick > > costin@apache.org wrote: >> costin 2002/08/03 20:48:50 >> >> Modified: . build2.xml >> Log: >> A more functional build file. >> It now creates a fully functional tomcat ( there are few problems >> with jasper tough ). >> >> Also added a task that starts tomcat from ant - with 1.4 you need >> fork=true ( I'll try to make few changes to ant classloader to avoid >> this ). >> >> I'm also trying 'everything in a jar' model - there are cases when >> you don't need the complex hierarchy. >> >> Note that the generated tomcat.jar is 2.8M, out of which 1.6 is >> tomcat. That's not very bad - if we move backward compat stuff into >> tomcat-compat and split some 'optional' functionality we can get well >> bellow 1M. >> >> ( that includes tomcat33 code - i.e. 300k, most of it not used at the >> moment, only some non-duplicated modules will be ported ) >> >> Revision Changes Path >> 1.3 +120 -3 jakarta-tomcat-5/build2.xml >> >> Index: build2.xml >> =================================================================== >> RCS file: /home/cvs/jakarta-tomcat-5/build2.xml,v retrieving revision >> 1.2 >> retrieving revision 1.3 >> diff -u -r1.2 -r1.3 >> --- build2.xml 1 Aug 2002 20:31:15 -0000 1.2 +++ build2.xml 4 Aug >> 2002 03:48:50 -0000 1.3 @@ -28,7 +28,7 @@ >> > value="${basedir}/../jakarta-tomcat-connectors"/> >> - >> + >> > value="${base.path}/log4j/log4j.jar"/> >> @@ -44,6 +44,14 @@ >> >> >> >> + >> + >> + + > /> >> + >> + >> + >> + >> >> >> @@ -86,8 +94,25 @@ >> >> >> > name="org/apache/commons/logging/impl/LogKitLogger.java" /> >> - + + >> >> + > name="org/apache/commons/collections/DoubleOrderedMap.java" /> + >> >> >> + + > dir="${commons.home}/modeler/src/java" > + > refid="static.res" /> + + > dir="${jtc.home}/util/java" > + > /> + + > dir="${commons.home}/digester/src/java" > + > refid="static.res" /> + + > dir="${commons.home}/logging/src/java" > + > refid="static.res" /> + + >> >> > @@ -111,6 +136,40 @@ >> > /> > name="org/apache/catalina/startup/BootstrapService.java" /> >> >> + >> + + > dir="${catalina.home}/catalina/src/share" > + > refid="static.res" /> + + > dir="${jtc.home}/coyote/src/java" > + > /> + + > dir="${jtc.home}/http11/src/java" > + > /> + + + >> + + >> + >> + + > dir="${api.home}/src/share"> + > name="**/*.properties"/> + + >> + >> + >> + + >> + > name="web-app*.dtd"/> + + >> + >> + + > name="web-jsptaglibrary*.dtd"/> + + >> >> + >> >> @@ -129,11 +188,69 @@ >> > /> > name="org/apache/taglibs/standard/lang/jstl/parser/jsp20/ELParser.java" >> /> >> >> + + > dir="${jasper.home}/src/share" > + > refid="static.res" /> + + > dir="${taglibs.home}/standard/src" > + > /> + + >> + >> + >> + > + description="Create jars" > + > dir="${build.dir}/lib" /> + > file="${build.dir}/lib/servlet.jar" > + > dir="${build.dir}/classes" > + > name="javax/servlet/**"/> + + >> + >> + + > dir="${build.dir}/classes" > + > name="org/apache/commons/**"/> + + >> + + > dir="${build.dir}/classes" > + > name="org/apache/tomcat/**"/> + > name="org/apache/jk/**"/> + > name="org/apache/coyote/**"/> + > name="org/apache/naming/**"/> + > name="org/apache/catalina/**"/> + + >> + + > dir="${build.dir}/classes" > + > name="org/apache/jasper/**"/> + > name="org/apache/taglibs/standard/**"/> + + >> + >> + > manifest="resources/catalina-main.manifest"> + > dir="${build.dir}/classes" > + + >> >> + >> >> >> - + >> > /> + + > classname="org.apache.catalina.startup.Catalina" fork="true"> >> >> + >> + + > location="${ant.home}/lib/xercesImpl.jar" /> + > location="${ant.home}/lib/xml-apis.jar" /> + > location="${ant.home}/lib/ant.jar" /> + > location="${java.home}/lib/rt.jar" /> + > location="${tools.jar}" /> + + >> + >> + > key="java.endorsed.dirs" value="${ant.home}/lib:${java.home}/lib"/> >> >> >> -- >> To unsubscribe, e-mail: >> For additional >> commands, e-mail: > -- To unsubscribe, e-mail: For additional commands, e-mail: