ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MacDonald, Ian" <ian_macdon...@securecomputing.com>
Subject RE: Order of evaluation for a target's "if" or "unless" attribute s
Date Tue, 11 Feb 2003 19:26:36 GMT
Thanks guys,

I guess I forgot to check the faq first.  I had observed this behavior but
didn't see it defined in the Ant manual.  I just wanted to know if the
execution order was defined before I relied upon it.

Regards,

-- Ian

> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org] 
> Sent: Monday, February 10, 2003 11:05 PM
> To: user@ant.apache.org
> Subject: Re: Order of evaluation for a target's "if" or 
> "unless" attributes
> 
> 
> On Mon, 10 Feb 2003, Ian MacDonald <ian_macdonald@securecomputing.com>
> wrote:
> 
> > Are a target's "if" or "unless" attributes supposed to be evaluated 
> > before or after executing target dependencies?
> 
> The depends clause is evaluated before *any* target has been 
> run, the if/unless attributes get evaluated at the time the 
> target with these attributes is about to get run.
> 
> > This does not seem to be defined anywhere I've looked.
> 
<http://ant.apache.org/faq.html#stop-dependency>

Stefan

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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message