lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject cvs commit: jakarta-lucene build.xml
Date Tue, 12 Aug 2003 10:37:09 GMT
ehatcher    2003/08/12 03:37:09

  Modified:    .        build.xml
  Log:
  clean up test build procedure slightly
  
  Revision  Changes    Path
  1.39      +5 -24     jakarta-lucene/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/build.xml,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- build.xml	12 Aug 2003 09:22:23 -0000	1.38
  +++ build.xml	12 Aug 2003 10:37:09 -0000	1.39
  @@ -28,7 +28,7 @@
     </path>
   
     <path id="junit.classpath">
  -    <pathelement location="${junit.classes}" />
  +    <pathelement location="${build.test.classes}" />
       <pathelement location="${build.classes}"/>
       <fileset dir="lib">
         <include name="*.jar" />
  @@ -268,7 +268,7 @@
         srcdir="${test.src}"
         includes="**/*.java"
         destdir="${build.test.classes}"
  -      debug="${debug}">
  +      debug="true">
         <classpath refid="test.classpath"/>
       </javac>
     </target>
  @@ -279,30 +279,11 @@
     <!--                                                                    -->
     <!-- ================================================================== -->
     <target name="test-unit" depends="compile,test" if="junit.present">
  -    <!-- Import JUnit task -->
  -    <taskdef
  -      name="junit"
  -      classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"
  -    />
  -
  -    <mkdir dir="${junit.classes}"/>
       <mkdir dir="${junit.reports}"/>
  -    <javac
  -      encoding="${build.encoding}"
  -      srcdir="${junit.src}"
  -      includes="**/*.java"
  -      destdir="${junit.classes}"
  -      debug="${debug}">
  -      <classpath refid="test.classpath"/>
  -    </javac>
  -
  -    <copy todir="${junit.classes}">
  -        <fileset dir="${junit.src}" excludes="**/*.java"/>
  -    </copy>
  -
  -    <junit printsummary="yes" haltonfailure="no" >
  +    <junit printsummary="off" haltonfailure="no" >
         <classpath refid="junit.classpath"/>
  -      <formatter type="plain" />
  +      <formatter type="plain"/>
  +      <formatter type="brief" usefile="false"/>
         <batchtest fork="yes" todir="${junit.reports}">
           <fileset dir="${junit.src}" includes="**/Test*.java" />
         </batchtest>
  
  
  

Mime
View raw message