ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter reilly <peter.rei...@corvil.com>
Subject Re: Does Replace task work incrementally?
Date Wed, 16 Jul 2003 14:59:42 GMT
In Ant 1.6, one may also use copy
with a filterchain containing a replacestring element,
instead of a copy and then a replace.
Peter

 
On Wed, 2003-07-16 at 15:41, Stefan Bodewig wrote:
> On Wed, 16 Jul 2003, Daniel Barclay <Daniel.Barclay@fgm.com> wrote:
> 
> > However, Replace seems to read from and write to the same file.
> 
> Replace will read from one file and write to a temporary file.  If it
> hasn't done anything, the original file will be left untouched -
> otherwise it gets replaced with the temporary file.
> 
> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 


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


Mime
View raw message