ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: Way to use a fileset for uptodate's "to" or "mapper"
Date Wed, 10 Jul 2002 01:25:39 GMT
--- Scott Ellsworth <scott@alodar.com> wrote:
> > I am trying to wrap my head around something, and kind of failing.  
> > What am I missing?
> 
> Turns out that <dependset> was what I was missing.
[snip]
> The only problem I am missing now is how to know when to build if 
> dependset deletes my files.  If I run the above, it will certainly 
> eradicate everything in the directory if they are out of date, but 
> unless I know that something got deleted, I will not know that I should 
> regenerate the files.

Do you actually want everything in the directory deleted, if anything's
out-of-date (ie., if any one thing is out-of-date, does that actually
require everything get rebuilt)? If not, then <dependset> probably isn't
the best way to go. On the other hand, if yes, then whatever target
currently builds this stuff should just depend on a target that has the
<dependset>, so it'll go do that first, then, when it comes back to the
original target, the task(s) in it will build whatever would normally get
built when none of the target-files are there.

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

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


Mime
View raw message