Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 46664 invoked from network); 11 Feb 2003 19:26:31 -0000 Received: from conswfw01.con.securecomputing.com (12.22.22.2) by daedalus.apache.org with SMTP; 11 Feb 2003 19:26:31 -0000 Received: from conntmx01.scur.com (conntmx01.con.securecomputing.com [192.168.24.14]) by conswfw01.con.securecomputing.com with ESMTP id h1BJQUEO022413 for ; Tue, 11 Feb 2003 11:26:30 -0800 (PST) Received: by CONNTMX01 with Internet Mail Service (5.5.2650.21) id <1LTZKD8R>; Tue, 11 Feb 2003 11:26:42 -0800 Message-ID: <61F0C65933ACD311ABCC00A0C9F1AD74C6CC49@CONNTMX01> From: "MacDonald, Ian" To: "'Ant Users List'" Subject: RE: Order of evaluation for a target's "if" or "unless" attribute s Date: Tue, 11 Feb 2003 11:26:36 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2D203.7E2A6E40" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C2D203.7E2A6E40 Content-Type: text/plain 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 > 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. > Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org ------_=_NextPart_001_01C2D203.7E2A6E40--