You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by se...@apache.org on 2002/08/22 23:29:28 UTC

cvs commit: xml-axis/java/test/wsdl/roundtrip build.xml

seibert     2002/08/22 14:29:28

  Modified:    java/test/wsdl/roundtrip build.xml
  Log:
  Prototype test file for the "clean" target to work
  
  Revision  Changes    Path
  1.2       +6 -4      xml-axis/java/test/wsdl/roundtrip/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/wsdl/roundtrip/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	22 Aug 2002 17:52:30 -0000	1.1
  +++ build.xml	22 Aug 2002 21:29:27 -0000	1.2
  @@ -42,16 +42,18 @@
           &taskdefs_post_compile;
           &targets;
   
  -<target name="clean"/>
  +<target name="clean">
  +    <echo message="Removing ${build.dir}/classes/${componentName} and ${build.dir}/work/${componentName}" />
  +    <delete dir="${build.dir}/classes/${componentName}"/>
  +    <delete dir="${build.dir}/work/${componentName}"/>
  +</target>
   
  -<target name="copy" depends="setenv"/>
  +<target name="copy" depends="setenv,clean"/>
   
   <target name="compile" depends="copy">
     <echo message="Compilig test.wsdl.roundtrip"/>
       <!-- Roundtrip Test -->
       <!-- To test Java Value Types, copy over the base and subclasses -->
  -    <delete dir="${build.dir}/classes/test/wsdl/roundtrip"/>
  -    <delete dir="${build.dir}/work/test/wsdl/roundtrip"/>
       <copy todir="${build.dir}/work/test/wsdl/roundtrip" overwrite="yes">
         <fileset dir="${test.dir}/wsdl/roundtrip">
           <include name="RoundtripPortTypeA.java"/>