Vítor Moreira created MASSEMBLY-756:
---------------------------------------

             Summary: escapeString doesn't work correctly for the 2nd filtering
                 Key: MASSEMBLY-756
                 URL: https://jira.codehaus.org/browse/MASSEMBLY-756
             Project: Maven Assembly Plugin
          Issue Type: Bug
          Components: filtering
    Affects Versions: 2.5.3
            Reporter: Vítor Moreira
            Priority: Minor
         Attachments: escapeString.zip

If we have a filter file with some escapeString, there are situations that 
escaping doesn't work.

For example, you have a filter file with two escaped filters:
{code}property.double_escaped=prefix \\${id} text-in-the-middle \\${id} 
suffix{code}
And that property is used in a config file, for example:
{code}property.C=${property.double_escaped}{code}

The result should be:
{code}property.C=prefix ${id} text-in-the-middle ${id} suffix{code}

And not this:
{code}property.C=prefix ${id} text-in-the-middle \{id} suffix{code}



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

Reply via email to