ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Truesdale, Jay" <JTruesd...@erac.com>
Subject Echo Command and OS Specific EOL Characters
Date Wed, 13 Mar 2002 15:48:46 GMT
I am using Ant 1.4.1 on Windows NT.

If I do this:

<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 would
expect that Ant would take in to account the operating system it is running
on and use the OS-specific EOL characters?

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." />


--
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