costin 2005/09/29 08:28:20
Modified: . build.xml
Log:
Added the target to build coyote standalone. ( there are missing files - the
j-t-c/mini directory in particular - don't try to build until
after svn transition, or whenever the rest of the files land )
This is 200K, coyote-http11 only, compared with tomcat runtime which is 1.2M
Revision Changes Path
1.240 +45 -0 jakarta-tomcat-5/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-tomcat-5/build.xml,v
retrieving revision 1.239
retrieving revision 1.240
diff -u -r1.239 -r1.240
--- build.xml 29 Sep 2005 06:07:24 -0000 1.239
+++ build.xml 29 Sep 2005 15:28:20 -0000 1.240
@@ -1252,6 +1252,51 @@
<target name="runtime" depends="prepare-runtime-once,compile-runtime"/>
+ <!-- ======================= Coyote standalone =========== -->
+ <!--
+ This is only the http connector, for testing/experimental purposes.
+ -->
+
+ <target name="tomcat-http11" >
+ <mkdir dir="runtime/http11"/>
+ <javac destdir="runtime/http11" debug="false" >
+ <src>
+ <pathelement path="${jtc.home}/util/java"/>
+ <pathelement path="${jtc.home}/util/loader"/>
+ <pathelement path="${jtc.home}/mini/java"/>
+ <pathelement path="${jtc.home}/coyote/src/java"/>
+ <pathelement path="${jtc.home}/http11/src/java"/>
+ </src>
+ <exclude name="org/apache/coyote/http11/Http11Protocol.java"/>
+ <exclude
name="org/apache/coyote/http11/Http11AprProcessor.java"/>
+ <exclude name="org/apache/coyote/http11/Http11AprProtocol.java"/>
+ <exclude
name="org/apache/coyote/http11/InternalAprInputBuffer.java"/>
+ <exclude
name="org/apache/coyote/http11/InternalAprOutputBuffer.java"/>
+ <exclude name="org/apache/tomcat/util/net/puretls/**"/>
+ <exclude
name="org/apache/tomcat/util/net/jsse/JSSE15SocketFactory.java"/>
+ <exclude
name="org/apache/tomcat/util/net/jsse/JSSE15Factory.java"/>
+ <exclude name="org/apache/tomcat/util/net/AprEndpoint.java"/>
+ <exclude name="org/apache/tomcat/util/digester/**"/>
+ <exclude name="org/apache/tomcat/util/compat/**"/>
+ <exclude name="org/apache/tomcat/util/jmx/**"/>
+ <exclude name="org/apache/tomcat/util/log/**"/>
+ <exclude name="org/apache/tomcat/util/IntrospectionUtils.java"/>
+ <exclude name="org/apache/coyote/tomcat3/**"/>
+ <exclude name="org/apache/coyote/tomcat4/**"/>
+ <exclude name="org/apache/coyote/memory/**"/>
+ </javac>
+ <copy todir="runtime/http11" >
+ <fileset dir="${jtc.home}/http11/src/java"
includes="**/*.properties **/*.xml"/>
+ <fileset dir="${jtc.home}/util/java" includes="**/*.properties
**/*.xml"/>
+ </copy>
+
+ <jar jarfile="runtime/tomcat-http11.jar"
manifest="resources/coyote-http11.MF"
+ basedir="runtime/http11"
+ includes="**" />
+
+ </target>
+
+
<!-- ======================= TESTER: Run Catalina Tester Tests===========
-->
<target name="dist-tester"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]