You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2011/01/11 20:29:58 UTC

[jira] Closed: (MRESOURCES-134) EspaceString doesn't work

     [ http://jira.codehaus.org/browse/MRESOURCES-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MRESOURCES-134.
--------------------------------------

    Resolution: Won't Fix

I agree with Olivier. This is working as it should. No change is needed.

By the way, your sample project has an invalid character as the escapeString. It just shows up as a question mark icon in my Java based IDE. That could explain why you are having problems.

> EspaceString doesn't work
> -------------------------
>
>                 Key: MRESOURCES-134
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-134
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>          Components: escape string
>    Affects Versions: 2.5
>         Environment: maven 2.2.1
>            Reporter: Rémy Sanlaville
>            Assignee: Olivier Lamy
>         Attachments: maven-resources-plugin-EscapeString.zip
>
>
> if I configure the maven-resource-plugin in order to escape a delimiter in a comment, the escapeString is not removed in the target.
> {code:title=src/main/resources/properties/test.properties|borderStyle=solid}
> #%comment to espace:§@toto
> question=@message@
> {code} 
> {code:title=pom.xml|borderStyle=solid}
>  <plugin>
>    <groupId>org.apache.maven.plugins</groupId>
>    <artifactId>maven-resources-plugin</artifactId>
>    <version>2.5-SNAPSHOT</version>
>    <configuration>
>      <escapeString>§</escapeString>
>    </configuration>  
>  </plugin>
> {code} 
> {code:title=target/classes/properties/test.properties|borderStyle=solid}
> #%comment to espace:§@toto
> question=A nice message...
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira