Return-Path:
Delivered-To: apmail-ant-dev-archive@www.apache.org
Received: (qmail 34547 invoked from network); 2 Oct 2004 23:40:04 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199)
by minotaur-2.apache.org with SMTP; 2 Oct 2004 23:40:04 -0000
Received: (qmail 96005 invoked by uid 500); 2 Oct 2004 23:40:02 -0000
Delivered-To: apmail-ant-dev-archive@ant.apache.org
Received: (qmail 95940 invoked by uid 500); 2 Oct 2004 23:40:01 -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 95927 invoked by uid 500); 2 Oct 2004 23:40:01 -0000
Received: (qmail 95921 invoked by uid 99); 2 Oct 2004 23:40:00 -0000
X-ASF-Spam-Status: No, hits=-10.0 required=10.0
tests=ALL_TRUSTED,NO_REAL_NAME
X-Spam-Check-By: apache.org
Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194)
by apache.org (qpsmtpd/0.28) with SMTP; Sat, 02 Oct 2004 16:40:00 -0700
Received: (qmail 34505 invoked by uid 1365); 2 Oct 2004 23:39:59 -0000
Date: 2 Oct 2004 23:39:59 -0000
Message-ID: <20041002233959.34504.qmail@minotaur.apache.org>
From: stevel@apache.org
To: ant-cvs@apache.org
Subject: cvs commit: ant/docs/manual using.html
X-Virus-Checked: Checked
X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N
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 @@
If no if
and no unless
attribute is present,
the target will always be executed.
+
+
+Important: the if
and unless
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.
+
The optional description
attribute can be used to provide a one-line description of this target, which is printed by the
-projecthelp
command-line option. Targets
without such a description are deemed internal and will not be listed,
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org