[ 
http://jira.codehaus.org/browse/MRESOURCES-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=251289#action_251289
 ] 

Rémy Sanlaville commented on MRESOURCES-134:
--------------------------------------------

With the last 2.5-SNAPSHOT it's now working. I do not have to define an 
escapeString in my property file

{code:title=src/main/resources/properties/test.properties|borderStyle=solid}
#%comment:@toto
questi...@message@
mailbox =cont...@toto.com
other.questi...@validation@
{code} 

{code:title=target/classes/properties/test.properties|borderStyle=solid}
#%comment: @toto
question=A nice message...
mailbox =cont...@toto.com
other.question=A validation message ?
{code} 

But, strangely, I have to configure the maven resource plugin with escapeString 
otherwise it does not work.

Also, #%comment to espace:�...@toto does not work but it don't need it now.

> 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
> questi...@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


Reply via email to