Cool precision.
Antoine
[EMAIL PROTECTED] wrote:
stevel 2004/10/02 16:39:59
Modified: docs/manual using.html
Log:
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>
<p>If no <code>if</code> and no <code>unless</code> attribute is present,
the target will always be executed.</p>
+
+<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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]