ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Dawson <tdaw...@wamnet.com>
Subject RE: proposed <uptodate> enhancement (implementation attached)
Date Thu, 22 Mar 2001 18:25:50 GMT
> 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:bodewig@apache.org]
> Sent: Wednesday, March 21, 2001 7:10 AM
> To: ant-dev@jakarta.apache.org
> Subject: Re: proposed <uptodate> enhancement (implementation attached)
> 
> 
> Tim Dawson <tdawson@wamnet.com> 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
> 

Mime
View raw message