diff groovy-ant.xml @ 27:ea29594bb799

TL-34: Switch to Jacoco for coverage analysis.
author smith@nwoca.org
date Sun, 10 Apr 2011 21:42:19 -0400
parents 3cb1ff0297a8
children 714576165aba
line wrap: on
line diff
--- a/groovy-ant.xml	Fri Apr 08 17:37:19 2011 -0400
+++ b/groovy-ant.xml	Sun Apr 10 21:42:19 2011 -0400
@@ -37,6 +37,7 @@
             <attribute default="${excludes}" name="excludes"/>
             <attribute default="**" name="testincludes"/>
             <sequential>
+                <property name="jacoco.coverage.agent" value=""/>
                 <if>
                     <isset property="java.agent.jar"/>
                     <then>
@@ -70,6 +71,7 @@
                     <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
                     <jvmarg line="${run.jvmargs}"/>
                     <jvmarg line="${jvm.agent}"/>
+                    <jvmarg line="${jacoco.coverage.agent}"/>
                 </junit>
             </sequential>
         </macrodef>