You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Eric Ballet-Baz (JIRA)" <ji...@codehaus.org> on 2005/08/31 15:36:03 UTC
[jira] Commented: (MPJCOVERAGE-26) maven.jcoverage.instrumentation.excludes does not work
[ http://jira.codehaus.org/browse/MPJCOVERAGE-26?page=comments#action_45558 ]
Eric Ballet-Baz commented on MPJCOVERAGE-26:
--------------------------------------------
In fact, this is more correct, since it allows multiple patterns in maven.jcoverage.instrumentation.excludes
<ant:copy todir="${maven.jcoverage.instrumentation}">
<ant:fileset dir="${maven.build.dest}"
includes="${maven.jcoverage.instrumentation.excludes}">
</ant:fileset>
</ant:copy>
<ant:copy todir="${maven.jcoverage.instrumentation}">
<ant:fileset dir="${maven.build.dest}"
excludes="${maven.jcoverage.instrumentation.excludes}">
<ant:exclude name="**/*.class" />
</ant:fileset>
</ant:copy>
Is there some plan to include this in the next release ?
Thanks
Eric Ballet-Baz
> maven.jcoverage.instrumentation.excludes does not work
> ------------------------------------------------------
>
> Key: MPJCOVERAGE-26
> URL: http://jira.codehaus.org/browse/MPJCOVERAGE-26
> Project: maven-jcoverage-plugin
> Type: Bug
> Versions: 1.0.9
> Reporter: thierry lach
> Assignee: Emmanuel Venisse
>
>
> Setting the instrumentation excludes causes jcoverage to fail with classes not found exceptions.
> To correct, change the following in plugin.jelly from
> <ant:copy todir="${maven.jcoverage.instrumentation}">
> <ant:fileset dir="${maven.build.dest}">
> <ant:exclude name="**/*.class" />
> <ant:exclude name="${maven.jcoverage.instrumentation.excludes}" />
> </ant:fileset>
> </ant:copy>
> to
> <ant:copy todir="${maven.jcoverage.instrumentation}">
> <ant:fileset dir="${maven.build.dest}">
> <ant:exclude name="**/*.class" />
> <ant:include name="${maven.jcoverage.instrumentation.excludes}" />
> </ant:fileset>
> </ant:copy>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org