vgritsenko    2003/12/14 11:34:00

  Modified:    .        build.xml
  Log:
  reorder tasks
  
  Revision  Changes    Path
  1.63      +19 -19    xml-xindice/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-xindice/build.xml,v
  retrieving revision 1.62
  retrieving revision 1.63
  diff -u -r1.62 -r1.63
  --- build.xml 12 Dec 2003 15:39:40 -0000      1.62
  +++ build.xml 14 Dec 2003 19:34:00 -0000      1.63
  @@ -134,6 +134,24 @@
           </copy>
       </target>
       
  +    <target name="test-validate">
  +        <taskdef name="testClassValidator" 
classname="junitx.ant.TestClassValidatorTask">
  +            <classpath>
  +                <path refid="project.class.path"/>
  +            </classpath>
  +        </taskdef>
  +        <testClassValidator verbose="off">
  +            <classpath>
  +                <path refid="project.class.path"/>
  +                <pathelement location="${test.build.dir}"/>
  +            </classpath>
  +            <fileset dir="${test.build.dir}">
  +                <include name="**/*Test.class"/>
  +                <include name="**/*TestCase.class"/>
  +            </fileset>
  +        </testClassValidator>
  +    </target>
  +    
       <target name="test-unit" depends="test-build, test-validate">
           <junit fork="yes" printsummary="yes" haltonfailure="no">
               <jvmarg value="-Djava.endorsed.dirs=${basedir}/build/endorsed"/>
  @@ -244,24 +262,6 @@
           </junit>
       </target>
   
  -    <target name="test-validate">
  -        <taskdef name="testClassValidator" 
classname="junitx.ant.TestClassValidatorTask">
  -            <classpath>
  -                <path refid="project.class.path"/>
  -            </classpath>
  -        </taskdef>
  -        <testClassValidator verbose="off">
  -            <classpath>
  -                <path refid="project.class.path"/>
  -                <pathelement location="${test.build.dir}"/>
  -            </classpath>
  -            <fileset dir="${test.build.dir}">
  -                <include name="**/*Test.class"/>
  -                <include name="**/*TestCase.class"/>
  -            </fileset>
  -        </testClassValidator>
  -    </target>
  -    
       <target name="test-all"
               depends="test-unit, test-embed-binary, test-integration-embed, 
test-integration-xmlrpc, test-integration-managed">
       </target>
  
  
  

Reply via email to