diff jacoco-ant.xml @ 67:9dcb429eea14

USPSR-346: clean up groovy script and allow jacoco to be disabled.
author smith@nwoca.org
date Fri, 14 Oct 2011 14:32:50 -0400
parents c1619b87800e
children
line wrap: on
line diff
--- a/jacoco-ant.xml	Fri Oct 14 08:35:40 2011 -0400
+++ b/jacoco-ant.xml	Fri Oct 14 14:32:50 2011 -0400
@@ -27,7 +27,7 @@
 
     </target>
 
-    <target name="with.coverage" depends="-check.jacoco" if="jacoco.installed">
+    <target name="with.coverage" depends="-check.jacoco" if="jacoco.installed" unless="jacoco.disabled">
         <property name="coverage.run.with.jacoco" value="true"/>
         <mkdir dir="${jacoco.dir}"/>
         <copy file="${jacoco.agent.jar.file}" tofile="${jacoco.dir}/jacocoagent.jar"/>