ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Truesdale, Jay" <>
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.

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:   <>
For additional commands, e-mail: <>

View raw message