[ http://jira.codehaus.org/browse/MPJCOVERAGE-26?page=comments#action_42117 
] 

Eric Ballet-Baz commented on MPJCOVERAGE-26:
--------------------------------------------

I think you have to split the copy operation into 2 steps :


      <ant:copy todir="${maven.jcoverage.instrumentation}">
        <ant:fileset dir="${maven.build.dest}">
          <ant:include name="${maven.jcoverage.instrumentation.excludes}" />
        </ant:fileset>
      </ant:copy>

      <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>

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to