[ 
http://jira.codehaus.org/browse/MCOBERTURA-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=263307#action_263307
 ] 

Gérald Quintana commented on MCOBERTURA-118:
--------------------------------------------

The problems is not directly related to Cobertura, but to the resource 
filtering done (or triggered) by Maven Cobertura Plugin. 

To say i differently, it's the conjunction of 
* Release Perform + Cobertura + Resource Filtering (from 
target\checkout\module\src\main\resources to 
target\checkout\module\target\generated-classes\cobertura) 
which seams to be the source of the problem. 
Removing one of them: 
* Release Perform + Resource Filtering (from 
target\checkout\module\src\main\resources to 
target\checkout\module\target\classes) 
or 
* Cobertura + Resource Filtering (from module\src\main\resources to 
module\target\generated-classes\cobertura) 
work well.


 

> Resource filtering on Release Perform
> -------------------------------------
>
>                 Key: MCOBERTURA-118
>                 URL: http://jira.codehaus.org/browse/MCOBERTURA-118
>             Project: Maven 2.x Cobertura Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Gérald Quintana
>
> Given a properties file located in module/src/main/resources and containing:
> kerberos.krb5Config=${project.build.outputDirectory}\\krb5.config
> When compiling/testing the application in normal situation everything is 
> alright, resource filtering does its job: 
> kerberos.krb5Config=D\:\\project\\trunk\\module\\target\\classes\\krb5.config
> When doing a release:perform, resource filtering fails. I get:
> kerberos.krb5Config=D:\project\trunk\target\checkout\module\target\generated-classes\cobertura\\krb5.config
> The problem is that backslashes should be doubled in properties file

-- 
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to