ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: ant/docs/manual using.html
Date Sat, 02 Oct 2004 23:39:59 GMT
stevel      2004/10/02 16:39:59

  Modified:    docs/manual using.html
  clarify conditional target execution logic
  Revision  Changes    Path
  1.35      +8 -0      ant/docs/manual/using.html
  Index: using.html
  RCS file: /home/cvs/ant/docs/manual/using.html,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- using.html	16 Mar 2004 10:01:58 -0000	1.34
  +++ using.html	2 Oct 2004 23:39:59 -0000	1.35
  @@ -107,6 +107,14 @@
   <p>If no <code>if</code> and no <code>unless</code> attribute
is present,
   the target will always be executed.</p>
  +<b>Important:</b> the <code>if</code> and <code>unless</code>
attributes only 
  +enable or disable the target to which they are attached. They do not control
  +whether or not targets that a conditional target depends upon get executed. 
  +In fact, they do not even get evaluated until the target is about to be executed,
  +and all its predecessors have already run.
   <p>The optional <code>description</code> attribute can be used to provide
a one-line description of this target, which is printed by the
   <nobr><code>-projecthelp</code></nobr> command-line option. Targets
   without such a description are deemed internal and will not be listed,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message