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

Dennis Lundberg commented on MRESOURCES-134:
--------------------------------------------

The escapeString does *not* have a default value. The text you are referring to 
is the "expression" for the parameter. This is a way to configure a value for 
through the command line. It would look like this:

{noformat}
mvn process-resources -Dmaven.resources.escapeString=§
{noformat}

By the way, where did you find that text? We should try to improve the 
documentation.


If you do not configure the escapeString no escaping should be done. So your 
example should work. Can you assemble a zip-file with the files you are using 
so that we can verify this?

> 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


Reply via email to