ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: Carriage Return in files.
Date Thu, 17 May 2001 22:32:09 GMT
--- M Nair <manojnair@mediaone.net> wrote:
> I write to a file using the
> <echo message="line.txt
> line2.txt" file="myfile.txt" append="true" />
> construct. How do I make ant insert a Carriage Return after line.txt in
> the
> file myfile.txt as it writes to it?

Would you believe:
  <echo file="myfile.txt" append="true"
        message="line.txt&#x0A;line2.txt"/>

(Unless someone knows a more elegant way.)

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Mime
View raw message