[
http://jira.codehaus.org/browse/MASSEMBLY-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=262079#action_262079
]
Alix Lourme commented on MASSEMBLY-546:
---------------------------------------
Is it possible not have any escape character (escapeString = _blank_) ?
Because if the plugin is used to valorize some login/password, the default
escape (backslashe) is contraignant.
+Exemple+ :
With a _filter_ containing :
{code}
my.password1 = @^\u5
my.password2 = simple\password
{code}
And a file _myConfig.xxx_ :
{code}
The password1 is ${my.password1}
The password2 is ${my.password2}
{code}
The backslashe is interpreted and must be doubled.
In the exemple, we have a
* Case 1 : IllegalArgumentException: Malformed \uxxxx encoding.
* Case 2 : (without UTF-8 character), the \ disappears ... result is
_simplepassword_
Understand the escape mecanism is not easy in key/value definition.
> Cannot supply escapeString for filtering
> ----------------------------------------
>
> Key: MASSEMBLY-546
> URL: http://jira.codehaus.org/browse/MASSEMBLY-546
> Project: Maven 2.x Assembly Plugin
> Issue Type: Improvement
> Affects Versions: 2.2-beta-5
> Reporter: Michael Osipov
>
> I have some txt files filtered in my assembly with <filtered>true</true>. I'd
> like also some properties tom remain as is and escape filtering. There is no
> option to. In the resources plugin I can set the filter delims + the escape
> string. Something like this is necessary for this plugin too.
--
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