[jira] Updated: (MRESOURCES-42) Filtering properties that contain ${basedir} for property files doesn't escape backslashes

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (MRESOURCES-42) Filtering properties that contain ${basedir} for property files doesn't escape backslashes

JIRA jira@codehaus.org

     [ http://jira.codehaus.org/browse/MRESOURCES-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy updated MRESOURCES-42:
-----------------------------------

    Fix Version/s: 2.3

> Filtering properties that contain ${basedir}  for property files doesn't escape backslashes
> -------------------------------------------------------------------------------------------
>
>                 Key: MRESOURCES-42
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-42
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2, 2.3
>         Environment: OS: Windows XP; Maven: 2.0.5, 2.0.6;
>            Reporter: Jérémy Soula
>             Fix For: 2.3
>
>         Attachments: MRESOURCES-42-maven-resources-plugin-2.3-SNAPSHOT.patch
>
>
> For exemple consider this in a filtered property files
> application.propertyOne=${pom.build.directory}
> application.propertyTwo=${basedir}
> which generates after filtering:
> application.propertyOne=D\:\\ProjectsDirectory\\project\\target
> application.propertyTwo=D:\ProjectsDirectory\project\
> Behavior are different and causes a second property bad value when reading the 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