summaryrefslogtreecommitdiff
path: root/manual/properties.html
diff options
context:
space:
mode:
authorStefan Bodewig <bodewig@apache.org>2016-02-07 15:21:38 +0100
committerStefan Bodewig <bodewig@apache.org>2016-02-07 15:35:47 +0100
commit494e865553b953c45ff7ae133604b6f9cb5dda04 (patch)
treeaa7767916f3538c2070f7be098a5e72d0b025daa /manual/properties.html
parentfaa26a012ed8fcd58379a6cf45045d5b07ac02c2 (diff)
downloadant-494e865553b953c45ff7ae133604b6f9cb5dda04.tar.gz
make ant.project.invoked-targets available for top-level tasks
https://bz.apache.org/bugzilla/show_bug.cgi?id=58908
Diffstat (limited to 'manual/properties.html')
-rw-r--r--manual/properties.html17
1 files changed, 11 insertions, 6 deletions
diff --git a/manual/properties.html b/manual/properties.html
index e42d3a2aa..cfb59ea8b 100644
--- a/manual/properties.html
+++ b/manual/properties.html
@@ -77,13 +77,18 @@ ant.project.invoked-targets
been specified on the command line (the IDE,
an &lt;ant&gt; task ...) when invoking the current
project.
- This property is set when the first target is executed.
- So you can't use it in the implicit target (directly
- under the &lt;project&gt; tag).
+ This property is set properly when the first target is executed.
+ If you use it in the implicit target (directly
+ under the &lt;project&gt; tag) the list will be
+ empty if no target has been specified while it
+ will contain the project's default target in this
+ case for tasks nested into targets..
ant.java.version the JVM version Ant detected; currently it can hold
- the values &quot;1.7&quot;, &quot;1.6&quot;, &quot;1.5&quot;,
- &quot;1.4&quot;, &quot;1.3&quot; and &quot;1.2&quot;.
-ant.core.lib the absolute path of the <code>ant.jar</code> file.
+ the values &quot;1.9&quot;, &quot;1.8&quot;,
+ &quot;1.7&quot;, &quot;1.6&quot;, &quot;1.5&quot;,
+ &quot;1.4&quot;, &quot;1.3&quot; and
+ &quot;1.2&quot;. ant.core.lib the absolute path
+ of the <code>ant.jar</code> file.
</pre>
<p>There is also another property, but this is set by the launcher