Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 14654 invoked from network); 16 Mar 2004 10:03:07 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 16 Mar 2004 10:03:07 -0000 Received: (qmail 98384 invoked by uid 500); 16 Mar 2004 10:02:39 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 98352 invoked by uid 500); 16 Mar 2004 10:02:39 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 98332 invoked from network); 16 Mar 2004 10:02:38 -0000 Received: from unknown (HELO corvil.com) (213.94.219.177) by daedalus.apache.org with SMTP; 16 Mar 2004 10:02:38 -0000 Received: from corvil.com (angel.local.corvil.com [172.18.1.171]) by corvil.com (8.12.9/8.12.5) with ESMTP id i2GA2o7x067340 for ; Tue, 16 Mar 2004 10:02:50 GMT (envelope-from peter.reilly@corvil.com) Message-ID: <4056D112.7080905@corvil.com> Date: Tue, 16 Mar 2004 10:04:02 +0000 From: Peter Reilly User-Agent: Mozilla Thunderbird 0.5 (X11/20040208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Developers List Subject: Re: Suggested using.html diff References: <40520EF4.8F3E85DC@purematrix.com> In-Reply-To: <40520EF4.8F3E85DC@purematrix.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Committed, thanks. Peter Jack Woehr wrote: >I think this is more accurate in detail than what stands now. > >-- >Jack J. Woehr # "[F]ar in the empty sky a solitary esophagus slept >http://www.well.com/~jax # upon motionless wing; everywhere brooded stillness, >http://www.softwoehr.com # serenity, and the peace of God." - Mark Twain > > > > >------------------------------------------------------------------------ > >? using.html.diff >Index: using.html >=================================================================== >RCS file: /home/cvspublic/ant/docs/manual/using.html,v >retrieving revision 1.33 >diff -c -r1.33 using.html >*** using.html 9 Feb 2004 21:50:05 -0000 1.33 >--- using.html 12 Mar 2004 19:24:43 -0000 >*************** >*** 77,84 **** > depends attribute, you > might think that first target C, then B and then A is executed. > Wrong! C depends on B, and B depends on A, so first A is executed, then B, then C, and finally D.

>!

A target gets executed only once, even when more than one target >! depends on it (see the previous example).

>

A target also has the ability to perform its execution if (or > unless) a property has been set. This allows, for example, better > control on the building process depending on the state of the system >--- 77,92 ---- > depends attribute, you > might think that first target C, then B and then A is executed. > Wrong! C depends on B, and B depends on A, so first A is executed, then B, then C, and finally D.

>!

In a chain of dependencies stretching back from a given target such >! as D above, each target gets executed only once, even when more than >! one target depends on it. Thus, executing the D target will first >! result in C being called, which in turn will first call B, which in >! turn will first call A. After A, then B, then C have executed, >! execution returns to the dependency list of D, which will not >! call B and A, since they were already called in process of dependency >! resolution for C and B respectively as dependencies of D. Had no such >! dependencies been discovered in processing C and B), B and A would >! have been executed after C in processing D's dependency list.

>

A target also has the ability to perform its execution if (or > unless) a property has been set. This allows, for example, better > control on the building process depending on the state of the system > > > >------------------------------------------------------------------------ > >--------------------------------------------------------------------- >To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org >For additional commands, e-mail: dev-help@ant.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org