ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: echo "something" >> somefile
Date Thu, 04 Mar 2004 22:55:28 GMT
--- Matt Reason <matt.reason@movielink.com> wrote:
>  
> I am trying get ant to do the exact equivalent of:
> echo "This is a line of text in a file" >> file.txt 
> Note that I am appending to the file.

What about
<echo file="log" append="true"
message="${buildNum}${line.separator}${BuildDate}" />

?

-Matt


__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message