You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "MacDonald, Ian" <ia...@securecomputing.com> on 2003/02/10 23:37:27 UTC
Order of evaluation for a target's "if" or "unless" attributes
I'm curious,
Are a target's "if" or "unless" attributes supposed to be evaluated before
or after executing target dependencies?
This does not seem to be defined anywhere I've looked.
Thanks,
Ian
----
Ian MacDonald
Secure Computing Corporation
ian_macdonald@securecomputing.com
Re: Order of evaluation for a target's "if" or "unless" attributes
Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 10 Feb 2003, Ian MacDonald <ia...@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