Mercurial > public > develkit
comparison 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 |
comparison
equal
deleted
inserted
replaced
40:5f8d6291cc66 | 41:139a3611ae99 |
---|---|
35 <taskdef uri="antlib:org.jacoco.ant" | 35 <taskdef uri="antlib:org.jacoco.ant" |
36 classpath="${jacoco.ant.jar.file}" | 36 classpath="${jacoco.ant.jar.file}" |
37 resource="org/jacoco/ant/antlib.xml"/> | 37 resource="org/jacoco/ant/antlib.xml"/> |
38 <jacoco:agent property="jacoco.coverage.agent" | 38 <jacoco:agent property="jacoco.coverage.agent" |
39 destfile="${jacoco.data.file}"/> | 39 destfile="${jacoco.data.file}"/> |
40 <var name="runmain.jvmargs.jacoco" value="${runmain.jvmargs}"/> | |
41 <var name="runmain.jvmargs" value="${jacoco.coverage.agent} ${runmain.jvmargs.jacoco}"/> | |
42 <echoproperties prefix="jacoco"/> | |
43 <echoproperties prefix="runmain"/> | |
40 </target> | 44 </target> |
41 | 45 |
42 <target name="coverage.xml" | 46 <target name="coverage.xml" |
43 description="Generates an XML converage report." | 47 description="Generates an XML converage report." |
44 depends="-check.jacoco,project.init" | 48 depends="-check.jacoco,project.init" |