Urciolo, Kevin wrote:
>I am using concat to write out configuration files. The text is
>embedded within the concat. What is the best way to write out a new
>line at the end?
>
>thanks
>
>
>
Hello Kevin,
<concat destfile="application.properties">jdbc.host=server1.foobar.com
jdbc.user=joeking
</concat>
will write a 2 lines file with a line separator at the end.
If you want absolutely to have the platform line separator, do
<concat
destfile="application.properties">jdbc.host=server1.foobar.com${line.separator}jdbc.user=joeking${line.separator}</concat>
Hopes this helps
Antoine
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]