[
https://issues.apache.org/jira/browse/MASSEMBLY-674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MASSEMBLY-674.
------------------------------------
Resolution: Auto Closed
This issue has been auto closed because it has been inactive for a long period
of time. If you think this issue still applies, retest your problem with the
most recent version of Maven and the affected component, reopen and post your
results.
> escapeString using \ does not work correctly
> --------------------------------------------
>
> Key: MASSEMBLY-674
> URL: https://issues.apache.org/jira/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
(v7.6.3#76005)