hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r349517 - in /jakarta/httpcomponents/trunk: build-common.xml http-core/build.xml
Date Mon, 28 Nov 2005 21:54:37 GMT
Author: olegk
Date: Mon Nov 28 13:54:32 2005
New Revision: 349517

URL: http://svn.apache.org/viewcvs?rev=349517&view=rev
Log:
Task 'test' no longer fails if clover.jar is not present in the ant lib directory

Modified:
    jakarta/httpcomponents/trunk/build-common.xml
    jakarta/httpcomponents/trunk/http-core/build.xml

Modified: jakarta/httpcomponents/trunk/build-common.xml
URL: http://svn.apache.org/viewcvs/jakarta/httpcomponents/trunk/build-common.xml?rev=349517&r1=349516&r2=349517&view=diff
==============================================================================
--- jakarta/httpcomponents/trunk/build-common.xml (original)
+++ jakarta/httpcomponents/trunk/build-common.xml Mon Nov 28 13:54:32 2005
@@ -154,10 +154,9 @@
     </sequential>
   </macrodef>
 
-  <taskdef resource="clovertasks"/>
-
   <target name="clover-db"
           description="Initialize test coverage database">
+    <taskdef resource="clovertasks"/>
     <clover-setup initString="${clover.db}/coverage.db" >
       <files>
         <exclude name="**/Test*.java"/>

Modified: jakarta/httpcomponents/trunk/http-core/build.xml
URL: http://svn.apache.org/viewcvs/jakarta/httpcomponents/trunk/http-core/build.xml?rev=349517&r1=349516&r2=349517&view=diff
==============================================================================
--- jakarta/httpcomponents/trunk/http-core/build.xml (original)
+++ jakarta/httpcomponents/trunk/http-core/build.xml Mon Nov 28 13:54:32 2005
@@ -27,7 +27,7 @@
     <do-compile/>
   </target>
 
-  <target name="test" depends="clover-db, compile">
+  <target name="test" depends="compile">
     <do-test testentry="org.apache.http.TestAll"/>
   </target>
 
@@ -35,7 +35,7 @@
     <do-javadoc packagenames ="org.apache.http.*"/>
   </target>
 
-  <target name="clover" depends="test">
+  <target name="clover" depends="clover-db, test">
     <do-clover/>
   </target>
 



Mime
View raw message