evenisse 2004/02/27 10:01:57
Modified: jcoverage plugin.jelly plugin.properties
jcoverage/xdocs properties.xml
Log:
Add excludes param for instrumentation
Revision Changes Path
1.7 +1 -0 maven-plugins/jcoverage/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven-plugins/jcoverage/plugin.jelly,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- plugin.jelly 29 Jan 2004 11:13:50 -0000 1.6
+++ plugin.jelly 27 Feb 2004 18:01:57 -0000 1.7
@@ -105,6 +105,7 @@
<instrument todir="${maven.jcoverage.instrumentation}">
<ant:fileset dir="${maven.build.dest}">
<ant:include name="**/*.class" />
+ <ant:exclude name="${maven.jcoverage.instrumentation.excludes}" />
</ant:fileset>
<ant:classpath>
<ant:path refid="jcoverage.classpath"/>
1.2 +1 -0 maven-plugins/jcoverage/plugin.properties
Index: plugin.properties
===================================================================
RCS file: /home/cvs/maven-plugins/jcoverage/plugin.properties,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- plugin.properties 3 Sep 2003 16:27:14 -0000 1.1
+++ plugin.properties 27 Feb 2004 18:01:57 -0000 1.2
@@ -3,3 +3,4 @@
maven.jcoverage.database.dir=${maven.jcoverage.dir}/database
maven.jcoverage.junit.fork=yes
maven.jcoverage.report.template=maven
+maven.jcoverage.instrumentation.excludes=NOT_DEFINED
\ No newline at end of file
1.2 +8 -0 maven-plugins/jcoverage/xdocs/properties.xml
Index: properties.xml
===================================================================
RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/properties.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- properties.xml 3 Sep 2003 16:27:15 -0000 1.1
+++ properties.xml 27 Feb 2004 18:01:57 -0000 1.2
@@ -30,6 +30,14 @@
Specifies the build directory for the instrumented classes.
</td>
</tr>
+ <tr>
+ <td>maven.jcoverage.instrumentation.excludes</td>
+ <td>Not defined</td>
+ <td>Yes</td>
+ <td>
+ Specifies the pattern for the excluded classes of instrumentation.
+ </td>
+ </tr>
<!--tr>
<td>maven.jcoverage.database.dir</td>
<td>${maven.jcoverage.dir}/database</td>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]