ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Does Replace task work incrementally?
Date Thu, 17 Jul 2003 07:49:22 GMT
On Wed, 16 Jul 2003, Daniel Barclay <> wrote:
> Stefan Bodewig wrote:

>> it hasn't done anything, the original file will be left untouched -
> Are there any problems when trying to use it when building
> incrementally?

See above.  "untouched" means the last modified timestamp won't change
either.  So yes, you can use <replace> in "incremental" builds.

> (Should Replace also be able to read from and write to different
> files, as most other tasks do?)

Ant 1.6 gives you the opportunity to do this with <copy> - see Peter's
mail from yesterday.  The same applies to <replaceregexp> and
<fixcrlf> which work "in place" just like <replace> as well.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message