ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@locus.apache.org
Subject cvs commit: jakarta-ant build.xml
Date Mon, 30 Oct 2000 08:43:45 GMT
bodewig     00/10/30 00:43:45

  Modified:    .        build.xml
  Log:
  Let users override whether the <junit> tasks fork or not (default is no).
  
  Submitted by:	Vincent Bergbauer <vincent_bergbauer@yahoo.com>
  
  Revision  Changes    Path
  1.93      +7 -2      jakarta-ant/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/build.xml,v
  retrieving revision 1.92
  retrieving revision 1.93
  diff -u -r1.92 -r1.93
  --- build.xml	2000/10/25 11:08:15	1.92
  +++ build.xml	2000/10/30 08:43:44	1.93
  @@ -33,8 +33,13 @@
     <property name="packages" value="org.apache.tools.*"/>
     <property name="manifest" value="src/etc/manifest"/>
   
  +
  +  <!-- =================================================================== -->
  +  <!-- Set some the defaults the user can override in .ant.properties      -->
  +  <!-- =================================================================== -->
     <property name="build.compiler" value="classic"/>
     <property name="build.compiler.emacs" value="on"/>
  +  <property name="junit.fork" value="false" />
   
     <!-- =================================================================== -->
     <!-- Define a global set of patterns that can be referenced by           -->
  @@ -326,7 +331,7 @@
     <!-- Run testcase                                                        -->
     <!-- =================================================================== -->
     <target name="runtests" depends="compiletests" if="junit.present">
  -    <junit printsummary="no" haltonfailure="yes">
  +    <junit printsummary="no" haltonfailure="yes" fork="${junit.fork}">
         <classpath>
           <pathelement location="${lib.dir}/${name}.jar" />
           <pathelement location="${build.tests}" />
  @@ -358,7 +363,7 @@
     </target>
   
     <target name="run.single.test" if="testcase" depends="compiletests">
  -    <junit printsummary="no" haltonfailure="yes">
  +    <junit printsummary="no" haltonfailure="yes" fork="${junit.fork}">
         <classpath>
           <pathelement location="${lib.dir}/${name}.jar" />
           <pathelement location="${build.tests}" />
  
  
  

Mime
View raw message