ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Echo Command and OS Specific EOL Characters
Date Wed, 13 Mar 2002 15:56:25 GMT
On Wed, 13 Mar 2002, Jay Truesdale <JTruesdale@erac.com> wrote:

> <echo file="Test.txt">
> This is line one.
> This is line two.
> </echo>
> 
> Then the file has UNIX style end of line characters, i.e. $0A.

I'm not sure, but I think this is fixed in CVS.

> Also is there any way to specify "special characters" in message
> strings like this?:
> 
> <echo file="Test.txt" message="This is line one\nThis is line two."
> />

&#xA; for line feed or take advantage of system properties which are
Ant properties at the same time and use ${line.separator}.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message