You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by js...@apache.org on 2002/08/08 01:31:26 UTC
cvs commit: jakarta-commons/httpclient build.xml
jsdever 2002/08/07 16:31:26
Modified: httpclient build.xml
Log:
Added a compile.examples target for compiling the examples.
Revision Changes Path
1.17 +19 -1 jakarta-commons/httpclient/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/httpclient/build.xml,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- build.xml 21 Jul 2002 04:12:44 -0000 1.16
+++ build.xml 7 Aug 2002 23:31:26 -0000 1.17
@@ -36,6 +36,9 @@
<!-- ========== Properties: Source Directories ============================ -->
<!-- The base directory for component configuration files -->
+ <property name="src.home" value="src"/>
+
+ <!-- The base directory for component configuration files -->
<property name="conf.home" value="src/conf"/>
<!-- The base directory for component sources -->
@@ -151,6 +154,7 @@
<mkdir dir="${build.home}/docs"/>
<mkdir dir="${build.home}/docs/api"/>
<mkdir dir="${build.home}/tests"/>
+ <mkdir dir="${build.home}/examples"/>
<mkdir dir="${test-webapp.dest}"/>
<mkdir dir="${test-webapp.dest}/${httpclient.test.webappContext}"/>
<mkdir dir="${test-webapp.dest}/${httpclient.test.webappContext}/WEB-INF"/>
@@ -233,6 +237,20 @@
</javac>
<copy todir="${build.home}/tests" filtering="on">
<fileset dir="${test.home}" excludes="**/*.java"/>
+ </copy>
+ </target>
+
+ <target name="compile.examples" depends="compile"
+ description="Compile the examples">
+ <javac srcdir ="${src.home}/examples"
+ destdir ="${build.home}/examples"
+ debug ="true"
+ deprecation ="true"
+ optimize ="false">
+ <classpath refid="test.classpath"/>
+ </javac>
+ <copy todir="${build.home}/examples" filtering="on">
+ <fileset dir="${src.home}/examples" excludes="**/*.java"/>
</copy>
</target>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>