dion 02/02/14 21:03:03 Modified: httpclient build.xml Log: Added war and ear steps Revision Changes Path 1.14 +40 -18 jakarta-commons/httpclient/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-commons/httpclient/build.xml,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- build.xml 4 Feb 2002 15:07:47 -0000 1.13 +++ build.xml 15 Feb 2002 05:03:03 -0000 1.14 @@ -1,7 +1,12 @@ <project name="HTTP Client" default="compile" basedir="."> <!-- "HTTP Client" component of the Jakarta Commons Subproject - $Id: build.xml,v 1.13 2002/02/04 15:07:47 dion Exp $ + $Id: build.xml,v 1.14 2002/02/15 05:03:03 dion Exp $ + author: Remy Maucherat ( mailto:[EMAIL PROTECTED] ) + author: Rod Waldhoff ( mailto:[EMAIL PROTECTED] ) + author: Vincent Massol ( mailto:[EMAIL PROTECTED] ) + author: dIon Gillard ( mailto:[EMAIL PROTECTED] ) + author: Mark Paquette ( mailto:[EMAIL PROTECTED] ) --> <!-- ========== Properties: Property Files =============================== --> @@ -258,26 +263,43 @@ </java> </target> - <target name="test-local" depends="compile.tests" if="test-local.entry" + <target name="test-local" depends="compile.tests" if="test-local.entry" description="Run all test cases that depend upon the local webserver"> - <java classname="${test.runner}" fork="yes" failonerror="${test.failonerror}"> - <jvmarg value="-Djava.protocol.handler.pkgs=${java.protocol.handler.pkgs}"/> - <jvmarg value="-Dhttpclient.log=${httpclient.log}"/> - <arg value="${test-local.entry}"/> - <classpath refid="test.classpath"/> - </java> - </target> + <java classname="${test.runner}" fork="yes" failonerror="${test.failonerror}"> + <jvmarg value="-Djava.protocol.handler.pkgs=${java.protocol.handler.pkgs}"/> + <jvmarg value="-Dhttpclient.log=${httpclient.log}"/> + <arg value="${test-local.entry}"/> + <classpath refid="test.classpath"/> + </java> + </target> - <target name="test-external" depends="compile.tests" if="test-external.entry" + <target name="test-external" depends="compile.tests" if="test-external.entry" description="Run all test cases that depend upon an external internet connection."> - <java classname="${test.runner}" fork="yes" failonerror="${test.failonerror}"> - <jvmarg value="-Djava.protocol.handler.pkgs=${java.protocol.handler.pkgs}"/> - <jvmarg value="-Dhttpclient.log=${httpclient.log}"/> - <arg value="${test-external.entry}"/> - <classpath refid="test.classpath"/> - </java> - </target> - + <java classname="${test.runner}" fork="yes" failonerror="${test.failonerror}"> + <jvmarg value="-Djava.protocol.handler.pkgs=${java.protocol.handler.pkgs}"/> + <jvmarg value="-Dhttpclient.log=${httpclient.log}"/> + <arg value="${test-external.entry}"/> + <classpath refid="test.classpath"/> + </java> + </target> + +<!-- ========== Targets: "External" Targets: Packaging ===================== --> + <target name="test-webapp-war" depends="compile.test-webapp"> + <war warfile="${test-webapp.dest}/httpclienttest.war" + webxml="${test-webapp.conf.home}/web.xml" + basedir="${test-webapp.dest}/httpclienttest/WEB-INF" + excludes="classes/,*.xml"> + <classes dir="${test-webapp.dest}/${httpclient.test.webappContext}/WEB-INF/classes"/> + </war> + </target> + + <target name="test-webapp-ear" depends="compile.test-webapp,test-webapp-war"> + <ear earfile="${test-webapp.dest}/httpclienttest.ear" + appxml="${test-webapp.conf.home}/application.xml"> + <fileset dir="${test-webapp.dest}" includes="*.jar,*.war"/> + </ear> + </target> + <!-- ========== Targets: "External" Targets: Documenation ================= --> <target name="doc" depends="javadoc"
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>