Iain Coulter created MASSEMBLY-674:
--------------------------------------

             Summary: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to