[ 
https://jira.codehaus.org/browse/MASSEMBLY-674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kristian Rosenvold updated MASSEMBLY-674:
-----------------------------------------

    Fix Version/s:     (was: 2.5)

> escapeString using \ does not work correctly
> --------------------------------------------
>
>                 Key: MASSEMBLY-674
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-674
>             Project: Maven Assembly Plugin
>          Issue Type: Improvement
>          Components: filtering
>    Affects Versions: 2.4
>            Reporter: Iain Coulter
>            Priority: Minor
>         Attachments: escapeStringBug.zip
>
>
> Using <escapeString>\</escapeString>   does not correctly when dealing with 
> case where previous text is also a \.
> attached pom,test and assembly.xml show what happens. The follwoing scenario 
> is currently fail:  (varible=Hello)
> {code}
> C:\path\\${variable}
> {code}
> converted to 
> {code}
> C:\path\\Hello
> {code}
> I would of expected:
> {code}
> C:\path\${variable}
> {code}
> The following does work but is not exactly as required as it means you get 
> get two \'s
> {code}
> C:\path\\\${variable}
> {code}
> converted to
> {code}
> C:\path\\${variable}
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to