> But you know that Ant's if/unless attributes of various kinds won't
> make any difference here? They don't check the value of a property.

yes, I'm aware of that (they should check the value, but that's another
topic)

as I said in my original post, I'm using this in the <copy> task for the
overwrite attribute, so it's still useful for avoiding the extra (and
somewhat confusing) target used to flip the value.

Tim

> -----Original Message-----
> From: Stefan Bodewig [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 21, 2001 7:10 AM
> To: [EMAIL PROTECTED]
> Subject: Re: proposed <uptodate> enhancement (implementation attached)
> 
> 
> Tim Dawson <[EMAIL PROTECTED]> wrote:
> 
> > I'd like to submit a change for Ant 1.4 to add a "value" attribute
> > to the <uptodate> task.
> 
> Well, available has one, so it would be fair enough to give uptodate
> one as well.
> 
> > The reason is that there is a case where I'd like a variable to set
> > to "false" (rather than "true") if the given target file is up to
> > date.
> 
> But you know that Ant's if/unless attributes of various kinds won't
> make any difference here? They don't check the value of a property.
> 
> Stefan
> 

Reply via email to