ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M.A.Dunphy" <madun...@bigfoot.com>
Subject Echo many lines to a file
Date Tue, 27 Feb 2001 16:56:42 GMT
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?

I've search the mailing list and others suggest that it is possible to
create many lines. Also I've added a CR/LF to the echo definitions:
<echo description="Add the JAVA_HOME Token"
file="${weblogic.configure.properties}" message="JAVA_HOME=${java.home}
" append="true"/>


Thanks

Mick


Mime
View raw message