ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <>
Subject Re: Concat With Newline
Date Fri, 16 Sep 2005 05:23:54 GMT
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?
Hello Kevin,

<concat destfile="">

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="">${line.separator}jdbc.user=joeking${line.separator}</concat>

Hopes this helps


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message