diff jacoco-ant.xml @ 41:139a3611ae99

CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
author smith@nwoca.org
date Tue, 07 Jun 2011 18:08:47 -0400
parents 0cbc383e341b
children c1619b87800e
line wrap: on
line diff
--- a/jacoco-ant.xml	Tue Jun 07 15:12:29 2011 -0400
+++ b/jacoco-ant.xml	Tue Jun 07 18:08:47 2011 -0400
@@ -37,6 +37,10 @@
                   resource="org/jacoco/ant/antlib.xml"/>
         <jacoco:agent property="jacoco.coverage.agent"
                       destfile="${jacoco.data.file}"/>
+        <var name="runmain.jvmargs.jacoco" value="${runmain.jvmargs}"/>
+        <var name="runmain.jvmargs" value="${jacoco.coverage.agent} ${runmain.jvmargs.jacoco}"/>  
+        <echoproperties prefix="jacoco"/>
+        <echoproperties prefix="runmain"/>
     </target>
 
     <target name="coverage.xml"