ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant/docs/manual using.html
Date Tue, 16 Mar 2004 10:02:34 GMT
peterreilly    2004/03/16 02:02:34

  Modified:    docs/manual Tag: ANT_16_BRANCH using.html
  Log:
  sync with HEAD
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.31.2.4  +10 -2     ant/docs/manual/using.html
  
  Index: using.html
  ===================================================================
  RCS file: /home/cvs/ant/docs/manual/using.html,v
  retrieving revision 1.31.2.3
  retrieving revision 1.31.2.4
  diff -u -r1.31.2.3 -r1.31.2.4
  --- using.html	9 Feb 2004 22:12:06 -0000	1.31.2.3
  +++ using.html	16 Mar 2004 10:02:33 -0000	1.31.2.4
  @@ -78,8 +78,16 @@
   <code>depends</code> 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.</p>
  -<p>A target gets executed only once, even when more than one target
  -depends on it (see the previous example).</p>
  +<p>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 <u>not</u>
  +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.</p>
   <p>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


Mime
View raw message