Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 14592 invoked from network); 16 Dec 2004 16:55:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Dec 2004 16:55:26 -0000 Received: (qmail 15338 invoked by uid 500); 16 Dec 2004 16:55:25 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 15191 invoked by uid 500); 16 Dec 2004 16:55:24 -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 15175 invoked by uid 500); 16 Dec 2004 16:55:24 -0000 Received: (qmail 15171 invoked by uid 99); 16 Dec 2004 16:55:24 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 16 Dec 2004 08:53:38 -0800 Received: (qmail 92027 invoked by uid 1818); 16 Dec 2004 16:24:57 -0000 Date: 16 Dec 2004 16:24:57 -0000 Message-ID: <20041216162457.92026.qmail@minotaur.apache.org> From: mbenson@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 mbenson 2004/12/16 08:24:57 Modified: docs/manual Tag: ANT_16_BRANCH using.html Log: Sync from HEAD Revision Changes Path No revision No revision 1.31.2.5 +14 -1 ant/docs/manual/using.html Index: using.html =================================================================== RCS file: /home/cvs/ant/docs/manual/using.html,v retrieving revision 1.31.2.4 retrieving revision 1.31.2.5 diff -u -r1.31.2.4 -r1.31.2.5 --- using.html 16 Mar 2004 10:02:33 -0000 1.31.2.4 +++ using.html 16 Dec 2004 16:24:57 -0000 1.31.2.5 @@ -31,7 +31,12 @@ default the default target to use when no target is supplied. - Yes. + No; however, since Ant 1.6.0, + every project includes an implicit target that contains any and + all top-level tasks and/or types. This target will always be + executed as part of the project's initialization, even when Ant is + run with the -projecthelp option. + basedir @@ -108,6 +113,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