axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: xml-axis/java build.xml
Date Thu, 14 Feb 2002 18:14:51 GMT
dims        02/02/14 10:14:51

  Modified:    java     build.xml
  Log:
  Build a WAR file for testing samples.
  
  Revision  Changes    Path
  1.106     +28 -0     xml-axis/java/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/build.xml,v
  retrieving revision 1.105
  retrieving revision 1.106
  diff -u -r1.105 -r1.106
  --- build.xml	14 Feb 2002 17:12:01 -0000	1.105
  +++ build.xml	14 Feb 2002 18:14:51 -0000	1.106
  @@ -393,6 +393,34 @@
     <target name="all" depends="dist, functional-tests"/>
   
     <!-- =================================================================== -->
  +  <!-- Creates a war file for testing                                      -->
  +  <!-- =================================================================== -->
  +  <target name="war" depends="compile, samples" >
  +    <mkdir dir="${build.webapp}"/>
  +    <copy todir="${build.webapp}">
  +      <fileset dir="${webapp}"/>
  +    </copy>
  +    <copy todir="${build.webapp}/WEB-INF/lib">
  +      <fileset dir="${build.lib}"/>
  +    </copy>
  +    <copy todir="${build.webapp}/samples">
  +      <fileset dir="./samples"/>
  +    </copy>
  +    <copy todir="${build.webapp}/WEB-INF/classes/samples">
  +      <fileset dir="${build.samples}"/>
  +    </copy>
  +    <copy todir="${build.webapp}/WEB-INF">
  +      <fileset dir="${samples.dir}/stock">
  +        <include name="*.lst"/>
  +      </fileset>
  +    </copy>
  +    <delete>
  +      <fileset dir="${build.webapp}" includes="**/CVS"/>
  +    </delete>
  +    <jar jarfile="${build.dir}/${name}.war" basedir="${build.webapp}"/>
  +  </target>
  +
  +  <!-- =================================================================== -->
     <!-- Creates the binary distribution                                     -->
     <!-- =================================================================== -->
     <target name="dist" depends="compile, javadocs, samples, junit" >
  
  
  

Mime
View raw message