[
http://jira.codehaus.org/browse/MRESOURCES-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_92558
]
Bryan Carpenter commented on MRESOURCES-25:
-------------------------------------------
Perhaps what is needed is the ability to do something similar to
this:
<resources>
<resource>
<includes>
<include>*.xml</include>
<includes>
<filtering>true</filtering>
</resource>
<resource>
<includes>
<include>*.properties</include>
<includes>
<filtering escapeBackSlash="true">true</filtering>
</resource>
</resources>
An alternative would be a filtering option that just allowed
the standard path-valued macros to be expanded with forward
slashes. In my example if "${basedir}" expanded to:
D:/cygwin/home/dbc/cvs/omii-packaging/source/ws-wss4j
I would be quite happy.
> Filtering of property values containing backslashes in path names still does
> not escape them?
> ---------------------------------------------------------------------------------------------
>
> Key: MRESOURCES-25
> URL: http://jira.codehaus.org/browse/MRESOURCES-25
> Project: Maven 2.x Resources Plugin
> Issue Type: Bug
> Environment: Windows
> Reporter: Bryan Carpenter
>
> This was originally reported as MRESOURCES-17, and I understood from the
> comments
> there it was fixed in version 2.2 of the plugin. But I have tried using that
> version of the
> resources plugin, and I am still seeing the same problem.
> My source property file contains:
> org.apache.ws.security.crypto.merlin.file=${basedir}/keys/x509.PFX.MSFT
> After filtering it looks like this:
>
> org.apache.ws.security.crypto.merlin.file=D:\cygwin\home\dbc\cvs\omii-packaging\source\ws-wss4j/keys/x509.PFX.MSFT
> and when the this is read in by `Properties.load()' the value ends up as:
> d:cygwinhomedbccvsomii-packagingsourcews-wss4j/keys/x509.PFX.MSFT
--
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