True, if your properties file has embedded ant properties that you
expect to be replaced, what you will get back when you regenerate the
file is not the property but the replacement value. This is still useful
as a properties file, though, just not as maintainable as the original
would have been. There are other changes from the original, too. Blank
lines would be stripped, as would comments.
And as you point out with your specific example below, since the
algorithm is line based, if you put embedded lines in any of your
property values the whole thing falls apart. That would be true with
${line.separator} as well as with continuation lines.
The solution still may be useful to Patrick, though, if he doesn't have
embedded lines and doesn't need an exact copy of the original.
[EMAIL PROTECTED] wrote:
Problem with special values:
value=is a ${line.separator} sample
Jan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]