[
https://jira.codehaus.org/browse/MASSEMBLY-674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=340206#comment-340206
]
Karl Heinz Marbaise edited comment on MASSEMBLY-674 at 1/26/14 4:42 AM:
------------------------------------------------------------------------
Based on the documentation it's having correct behaviour, cause if you set
escapeString to "\" as you set in your example things like {{\$\{whatEver\}}}
will not be replace cause the "\" will prevent that.
I would suggest to use a different escapeString like "!" and may be if you need
separate execution block with appropriate configuration.
was (Author: khmarbaise):
Based on the documentation it's having correct behaviour, cause if you set
escapeString to "\" as you set in your example things like {{\$\{whatEver\}}}
will not be replace cause the "\" will prevent that.
> escapeString using \ does not work correctly
> --------------------------------------------
>
> Key: MASSEMBLY-674
> URL: https://jira.codehaus.org/browse/MASSEMBLY-674
> Project: Maven Assembly Plugin
> Issue Type: Bug
> Components: filtering
> Reporter: Iain Coulter
> 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)