costin 01/01/19 19:43:08
Modified: . build.xml
Log:
Few changes in build.xml:
- remove older packages ( tomcat/logging, etc )
- added the self-test application to the default target, it'll be
built by default now - but probably we need to disable/remove it from
the distribution ( tests may have security problems ). I think it's very
important to keep it enabled for a while, so people can test
on multiple platforms and maybe add test cases for their bugs.
- no longer copy ant.jar in tomcat/lib - ant is not used right now, no
need to include it in CLASSPATH by default. Applications needing ant should
include it in WEB-INF.
- indentation of xml ( easier to read )
Revision Changes Path
1.103 +10 -5 jakarta-tomcat/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-tomcat/build.xml,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -r1.102 -r1.103
--- build.xml 2001/01/04 19:11:08 1.102
+++ build.xml 2001/01/20 03:43:07 1.103
@@ -72,7 +72,6 @@
<copy todir="${tomcat.build}/bin">
<fileset dir="${ant.home}/bin"/>
</copy>
- <copy tofile="${tomcat.build}/lib/ant.jar" file="${ant.home}/lib/ant.jar"/>
<copy tofile="${tomcat.build}/lib/jaxp.jar"
file="${ant.home}/lib/jaxp.jar"/>
<copy tofile="${tomcat.build}/lib/parser.jar"
@@ -100,13 +99,17 @@
<!-- Independent ( stand alone ) utilities -->
<target name="tomcat_util" depends="init">
- <javac destdir="${tomcat.build}/classes" debug="${debug}"
optimize="${optimize}" deprecation="off" srcdir="src/share">
+ <javac destdir="${tomcat.build}/classes"
+ debug="${debug}"
+ optimize="${optimize}"
+ deprecation="off"
+ srcdir="src/share">
<!-- no dependencies -->
<include name="org/apache/tomcat/util/**"/>
- <include name="org/apache/tomcat/logging/**"/>
<exclude name="**/util/net/SSLSocketFactory.java" unless="jsse.present"/>
</javac>
- <jar jarfile="${tomcat.build}/lib/tomcat_util.jar"
basedir="${tomcat.build}/classes">
+ <jar jarfile="${tomcat.build}/lib/tomcat_util.jar"
+ basedir="${tomcat.build}/classes">
<include name="org/apache/tomcat/util/**"/>
<include name="org/apache/tomcat/logging/**"/>
</jar>
@@ -387,7 +390,9 @@
<!-- ==================== Admin & agreagate ==================== -->
- <target name="tomcat" depends="prepare,tomcat-jars-new">
+ <!-- The self-test app should be removed in the release, but it's
+ useful to have it builded by default -->
+ <target name="tomcat" depends="prepare,tomcat-jars-new,sanity-test">
</target>
<target name="clean-classes" depends="init">
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]