commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerem...@apache.org
Subject cvs commit: jakarta-commons-sandbox/io build.xml
Date Thu, 21 Aug 2003 18:59:26 GMT
jeremias    2003/08/21 11:59:26

  Modified:    io       build.xml
  Log:
  Bugzilla 22332: Deprecated FileUtils string methods, Code style-up
  adds data/test directory to test classpath
  Submitted by: Matthew Hawthorne <mhawthorne at alumni.pitt.edu>
  
  Revision  Changes    Path
  1.12      +18 -8     jakarta-commons-sandbox/io/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/io/build.xml,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- build.xml	27 Jul 2003 17:08:29 -0000	1.11
  +++ build.xml	21 Aug 2003 18:59:26 -0000	1.12
  @@ -60,6 +60,9 @@
     <!-- The base directory for unit test sources -->
     <property name="test.home"               value="src/test"/>
   
  +  <!-- Test data directory -->
  +  <property name="data.test"               value="data/test"/>
  +
   <!-- ========== Compiler Defaults ========================================= -->
   
   
  @@ -152,6 +155,12 @@
       <copy    todir="${build.home}/tests" filtering="off">
         <fileset dir="${test.home}" excludes="**/*.java"/>
       </copy>
  +
  +    <!-- Copies test data -->
  +    <copy todir="${build.home}/tests" filtering="off">
  +      <fileset dir="${data.test}"/>
  +    </copy>
  +
     </target>
   
     <target name="clean"
  @@ -236,30 +245,31 @@
         <classpath refid="test.classpath"/>
       </java>
     </target>
  --->  
  +-->
     <target name="test.io" depends="compile.tests">
  -   
  +
      <taskdef name="junit" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/>
  -   
  +
       <junit printsummary="yes" haltonfailure="${test.failonerror}" fork="yes">
   
  -      <formatter type="brief" usefile="false"/> 
  +      <formatter type="brief" usefile="false"/>
         <classpath refid="test.classpath"/>
   
        <batchtest todir="${build.home}/tests">
           <fileset dir="${build.home}/tests">
             <include name="**/test/*TestCase.class"/>
             <include name="**/*Test.class" />
  -          <include name="**/*TestCase.class" />          
  +          <include name="**/*TestCase.class" />
             <include name="**/Test*.class" />
             <include name="**/output/Test*.class" />
             <exclude name="**/AllTest.class" />
             <exclude name="**/*$$*Test.class" />
             <exclude name="**/compress/zip/*.class" />
             <exclude name="**/compress/tar/*.class" />
  +          <exclude name="**/FileBasedTestCase.class" />
           </fileset>
         </batchtest>
  -    </junit>  
  +    </junit>
     </target>
  -  
  +
   </project>
  
  
  

Mime
View raw message