ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: Wanted: Ant idiom for optimal parameterized copy
Date Wed, 03 Mar 2004 13:06:44 GMT
--- Matt Benson <gudnabrsam@yahoo.com> wrote:
> This solution is not all that cool, but hear me out:
> 
> could you just create a temporary copy of the file
> and
> compare against the one you already have?  If you
> wanted to make it slightly cooler (no temp files,
> which I hate) you could--I assume you're using the
> <replacetokens> FilterReader--use a <loadfile> with
> your same filterchain to get the would-be contents
> into a property, load the previous file with an
> unfiltered <loadfile> and compare those properties
> using an <equals> condition...

Also, it sounds like this -could- work as a
<macrodef>.

-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