From db6c9ffe515e6714c4ad306177b2bb1a30d8b682 Mon Sep 17 00:00:00 2001 From: Jan Materne Date: Sat, 4 Jun 2005 07:24:47 +0000 Subject: [PATCH] Hint to ant.home property git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278404 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/using.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/manual/using.html b/docs/manual/using.html index 4b50f2241..0ba380184 100644 --- a/docs/manual/using.html +++ b/docs/manual/using.html @@ -115,9 +115,9 @@ example, if the module-A-present property is set the target will always be executed.

-Important: the if and unless attributes only +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. +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. @@ -278,6 +278,11 @@ ant.project.name the name of the project that is currently executing; ant.java.version the JVM version Ant detected; currently it can hold the values "1.2", "1.3", "1.4" and "1.5". +

There is also another property, but this is set by the launcher script and therefore +maybe not set inside IDEs:

+
+ant.home            home directory of Ant
+

Example Buildfile

@@ -591,4 +596,4 @@ deliberately assign a different meaning to refid.

Reserved.

- + \ No newline at end of file