From ce573700c7bc99b9b9e40b06541779d5fbb32c45 Mon Sep 17 00:00:00 2001 From: Jan Materne Date: Tue, 22 Dec 2009 08:21:43 +0000 Subject: [PATCH] - remove double "for example" - two minor words about command line use git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@893111 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/targets.html | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/manual/targets.html b/docs/manual/targets.html index fc109c651..40215cc46 100644 --- a/docs/manual/targets.html +++ b/docs/manual/targets.html @@ -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.

Target-Groups