ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <n...@apache.org>
Subject Re: Echo many lines to a file
Date Tue, 27 Feb 2001 23:11:10 GMT

----- Original Message ----- 
From: "M.A.Dunphy" <madunphy@bigfoot.com>
To: "Ant-User (E-mail)" <ant-user@jakarta.apache.org>
Sent: Tuesday, February 27, 2001 5:56 PM
Subject: Echo many lines to a file


> Hi there
> 
> I'm using ant 1.2 on NT and trying to write multiple lines to a file. The
> first echo creates the file and then each subsequent echo appends to the
> file. Unfortunately the file is created with just 1 line?

It should work if you use something like 

<echo file="myfile.txt">There are
multiple lines in 
this file
</echo>

Nico



Mime
View raw message