Author: tfmorris
Date: 2008-04-27 10:04:21-0700
New Revision: 14487

Modified:
   trunk/src/argouml-app/build.xml

Log:
Remove Cobertura from default classpath

Modified: trunk/src/argouml-app/build.xml
Url: 
http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/build.xml?view=diff&rev=14487&p1=trunk/src/argouml-app/build.xml&p2=trunk/src/argouml-app/build.xml&r1=14486&r2=14487
==============================================================================
--- trunk/src/argouml-app/build.xml     (original)
+++ trunk/src/argouml-app/build.xml     2008-04-27 10:04:21-0700
@@ -100,10 +100,6 @@
       <fileset dir="../argouml-core-model-mdr/build/">
         <include name="*.jar"/>
       </fileset>
-      <fileset dir="${argo.tools.dir}/cobertura-1.9/">
-        <include name="cobertura.jar"/>
-        <include name="lib/*.jar"/>
-      </fileset>
     </path>
 
     <!-- In order to use ant optional tasks which use jars that are not -->
@@ -119,7 +115,6 @@
 
     <property name="version.package" value="org/argouml/application"/>
 
-    
     <path id="cobertura.classpath">
       <fileset dir="${cobertura.dir}">
         <include name="cobertura.jar" />
@@ -515,15 +510,18 @@
     depends="init, junit-classpath-coverage, junit-classpath-nocoverage"/>
   
   <target name="junit-classpath-coverage" if="test.coverage" >
+       <echo message="test.coverage = ${test.coverage}"/>
     <path id="tests.all.classpath">
       <pathelement location="${build.dir}/instrumented"/>
       <pathelement location="${build.classes}"/>
       <pathelement location="${tests.classes}"/>
       <path refid="tests.run.classpath"/>
+      <path refid="cobertura.classpath"/>
     </path>
   </target>
 
   <target name="junit-classpath-nocoverage" unless="test.coverage" >
+        <echo message="test.coverage = ${test.coverage}"/>
     <path id="tests.all.classpath">
       <pathelement location="${build.classes}"/>
       <pathelement location="${tests.classes}"/>

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

Reply via email to