- MPJCOVERAGE-20 : Allow comma separeted values for maven.jcoverage.instrumentation.excludes.
- MPJCOVERAGE-16 : Fix tests failures when user use maven.jcoverage.instrumentation.excludes git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@126211 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8011950321
commit
3da5c2a00d
@ -121,10 +121,16 @@
|
|||||||
|
|
||||||
<maven:addPath id="maven.dependency.classpath" refid="jcoverage.classpath"/>
|
<maven:addPath id="maven.dependency.classpath" refid="jcoverage.classpath"/>
|
||||||
|
|
||||||
|
|
||||||
|
<u:tokenize var="maven.jcoverage.instrumentation.excludes.split" delim=",">${maven.jcoverage.instrumentation.excludes}</u:tokenize>
|
||||||
|
|
||||||
<instrument todir="${maven.jcoverage.instrumentation}">
|
<instrument todir="${maven.jcoverage.instrumentation}">
|
||||||
<ant:fileset dir="${maven.build.dest}"
|
<ant:fileset dir="${maven.build.dest}">
|
||||||
includes="${maven.jcoverage.instrumentation.includes}"
|
<ant:include name="${maven.jcoverage.instrumentation.includes}" />
|
||||||
excludes="${maven.jcoverage.instrumentation.excludes}"/>
|
<j:forEach var="var" items="${maven.jcoverage.instrumentation.excludes.split}">
|
||||||
|
<ant:exclude name="${var}" />
|
||||||
|
</j:forEach>
|
||||||
|
</ant:fileset>
|
||||||
<ant:classpath>
|
<ant:classpath>
|
||||||
<ant:path refid="jcoverage.classpath"/>
|
<ant:path refid="jcoverage.classpath"/>
|
||||||
</ant:classpath>
|
</ant:classpath>
|
||||||
@ -133,7 +139,11 @@
|
|||||||
<ant:copy todir="${maven.jcoverage.instrumentation}">
|
<ant:copy todir="${maven.jcoverage.instrumentation}">
|
||||||
<ant:fileset dir="${maven.build.dest}">
|
<ant:fileset dir="${maven.build.dest}">
|
||||||
<ant:exclude name="**/*.class" />
|
<ant:exclude name="**/*.class" />
|
||||||
<ant:exclude name="${maven.jcoverage.instrumentation.excludes}" />
|
</ant:fileset>
|
||||||
|
<ant:fileset dir="${maven.build.dest}">
|
||||||
|
<j:forEach var="var" items="${maven.jcoverage.instrumentation.excludes.split}">
|
||||||
|
<ant:include name="${var}" />
|
||||||
|
</j:forEach>
|
||||||
</ant:fileset>
|
</ant:fileset>
|
||||||
</ant:copy>
|
</ant:copy>
|
||||||
|
|
||||||
|
|||||||
@ -26,6 +26,8 @@
|
|||||||
<body>
|
<body>
|
||||||
<release version="1.0.10" date="IN CVS">
|
<release version="1.0.10" date="IN CVS">
|
||||||
<action dev="evenisse" type="fix">Open report in a new window.</action>
|
<action dev="evenisse" type="fix">Open report in a new window.</action>
|
||||||
|
<action dev="evenisse" type="fix" issue="MPJCOVERAGE-20">Allow comma separeted values for maven.jcoverage.instrumentation.excludes.</action>
|
||||||
|
<action dev="evenisse" type="fix" issue="MPJCOVERAGE-16">Fix tests failures when user use maven.jcoverage.instrumentation.excludes</action>
|
||||||
</release>
|
</release>
|
||||||
<release version="1.0.9" date="2004-11-10">
|
<release version="1.0.9" date="2004-11-10">
|
||||||
<action dev="brett" type="fix">Fix incorrect usage of maven:addPath tag</action>
|
<action dev="brett" type="fix">Fix incorrect usage of maven:addPath tag</action>
|
||||||
|
|||||||
@ -69,7 +69,7 @@
|
|||||||
<td>Not defined</td>
|
<td>Not defined</td>
|
||||||
<td>Yes</td>
|
<td>Yes</td>
|
||||||
<td>
|
<td>
|
||||||
Specifies the pattern for the excluded classes of instrumentation.
|
Specifies the pattern for the excluded classes of instrumentation. It's a comma separated property.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!--tr>
|
<!--tr>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user