Hi all,
I'm trying to use <echo message> tags in a file to create a dynamic file
at build time (this solution is not optimal but we're working on changing it
shortly so need this for short term). I can create a new file just fine,
but if i try to have a text file with multiple lines (ie. with line breaks),
this doesn't seem to work. Instead, all my echo's appear on one line in the
new file with just a space between them. Is there something wrong with the
"${line.separator}" variable?
Example:
<echo message="some text ${line.separator}" append="false" file="my_file" />
<echo message="more text ${line.separator}" append="true" file="my_file" />
I would expect a text file with:
*some text
more text
*
But instead i get:
*some text more text*
This is with maven 2.0.8.
Any ideas or help would be appreciated. Thanks.