Return-Path:
Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org
Received: (qmail 32920 invoked from network); 22 Dec 2009 08:22:13 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3)
by minotaur.apache.org with SMTP; 22 Dec 2009 08:22:13 -0000
Received: (qmail 94719 invoked by uid 500); 22 Dec 2009 08:22:13 -0000
Delivered-To: apmail-ant-notifications-archive@ant.apache.org
Received: (qmail 94636 invoked by uid 500); 22 Dec 2009 08:22:12 -0000
Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm
Precedence: bulk
List-Help:
List-Unsubscribe:
List-Post:
List-Id:
Reply-To: dev@ant.apache.org
Delivered-To: mailing list notifications@ant.apache.org
Received: (qmail 94627 invoked by uid 99); 22 Dec 2009 08:22:12 -0000
Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136)
by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Dec 2009 08:22:12 +0000
X-ASF-Spam-Status: No, hits=-2.6 required=5.0
tests=BAYES_00
X-Spam-Check-By: apache.org
Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4)
by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Dec 2009 08:22:05 +0000
Received: by eris.apache.org (Postfix, from userid 65534)
id B394B23889F7; Tue, 22 Dec 2009 08:21:45 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r893111 - /ant/core/trunk/docs/manual/targets.html
Date: Tue, 22 Dec 2009 08:21:45 -0000
To: notifications@ant.apache.org
From: jhm@apache.org
X-Mailer: svnmailer-1.0.8
Message-Id: <20091222082145.B394B23889F7@eris.apache.org>
Author: jhm
Date: Tue Dec 22 08:21:43 2009
New Revision: 893111
URL: http://svn.apache.org/viewvc?rev=893111&view=rev
Log:
- remove double "for example"
- two minor words about command line use
Modified:
ant/core/trunk/docs/manual/targets.html
Modified: ant/core/trunk/docs/manual/targets.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/targets.html?rev=893111&r1=893110&r2=893111&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/targets.html (original)
+++ ant/core/trunk/docs/manual/targets.html Tue Dec 22 08:21:43 2009
@@ -29,8 +29,8 @@
desired state during the build process.
Targets can depend on other targets and Ant ensures that these
- other targets have been executed before the current target. For
- example you might have a target for compiling, for example, and a
+ other targets have been executed before the current target. For
+ example you might have a target for compiling and a
target for creating a distributable. You can only build a
distributable when you have compiled first, so the distribute
target depends on the compile target.
@@ -190,14 +190,19 @@
encoding of the XML file. The empty string "" is in this
set, as is comma "," and space " ". Please
avoid using these, as they will not be supported in future Ant
- versions because of all the confusion they cause. IDE support of
+ versions because of all the confusion they cause on command line and IDE. IDE support of
unusual target names, or any target name containing spaces, varies
with the IDE.
Targets beginning with a hyphen such
as "-restart"
are valid, and can be used to
name targets that should not be called directly from the command
- line.
+ line.
+ For Ants main class every option starting with hyphen is an
+ option for Ant itself and not a target. For that reason calling these
+ target from command line is not possible. On the other hand IDEs usually
+ don't use Ants main class as entry point and calling them from the IDE
+ is usually possible.