[
https://jira.codehaus.org/browse/MASSEMBLY-674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karl Heinz Marbaise updated MASSEMBLY-674:
------------------------------------------
Issue Type: Improvement (was: Bug)
> 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
> Fix For: 2.5
>
> 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)
> C:\path\\${variable} converted to C:\path\\Hello
> I would of expected: C:\path\${variable}
> The following does work but is not exactly as required as it means you get
> get two \'s
> C:\path\\\${variable} converted to C:\path\\${variable}
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)