[ 
http://jira.codehaus.org/browse/MCLOVER-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_92061
 ] 

Brendan Humphreys commented on MCLOVER-45:
------------------------------------------

I can reproduce this problem. It occurs because when you exclude files from 
instrumentation, they are excluded from instrumentation *and* compilation. this 
means if there are any dependencies on excluded files, that dependency won't be 
satisfied and a compilation error will occur.

The fix would involve copying (rather than instrumenting) excluded source files 
so they are available at compile time.

Cheers,
-Brendan

 



> Excluded files should be added to compiled sources 
> ---------------------------------------------------
>
>                 Key: MCLOVER-45
>                 URL: http://jira.codehaus.org/browse/MCLOVER-45
>             Project: Maven 2.x Clover Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Henrik Mejlgaard
>         Assigned To: Vincent Massol
>             Fix For: 2.4
>
>
> When excluding files, these are not included in the compiled sources and 
> therefor gives an compile error as the excluded files cannot be found.
> My proposed fix would be to collect and copy the excluded source files to an 
> excluded_src folder in the target/clover directory, which then could be added 
> to the compiled sources list.

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

        

Reply via email to