ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Order of evaluation for a target's "if" or "unless" attributes
Date Tue, 11 Feb 2003 07:05:11 GMT
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

Mime
View raw message