Author: mbenson
Date: Wed Sep 27 11:21:08 2006
New Revision: 450535

URL: http://svn.apache.org/viewvc?view=rev&rev=450535
Log:
add junit-report-only and antunit-report-only for those (admittedly rare)
situations when you've just run tests without reports and change your mind
that you want reports after all.  :P

Modified:
    ant/core/trunk/build.xml

Modified: ant/core/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/build.xml?view=diff&rev=450535&r1=450534&r2=450535
==============================================================================
--- ant/core/trunk/build.xml (original)
+++ ant/core/trunk/build.xml Wed Sep 27 11:21:08 2006
@@ -1678,7 +1678,9 @@
     </condition>
   </target>
 
-  <target name="junit-report" depends="junit-tests" if="run.junit.report">
+  <target name="junit-report" depends="junit-tests,junit-report-only" />
+
+  <target name="junit-report-only" depends="test-init" if="run.junit.report">
     <mkdir dir="${build.junit.reports}" />
     <junitreport todir="${build.junit.reports}">
       <fileset dir="${build.junit.xml}">
@@ -1879,7 +1881,9 @@
     </au:antunit>
   </target>
 
-  <target name="antunit-report" depends="antunit-tests" 
if="run.antunit.report">
+  <target name="antunit-report" depends="antunit-tests,antunit-report-only" />
+
+  <target name="antunit-report-only" depends="test-init" 
if="run.antunit.report">
     <length>
       <fileset dir="${antunit.xml}" includes="TEST-*.xml" />
     </length>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to