Sets a property (by name and value), or set of properties (from file or resource) in the project.
@@ -26,23 +26,23 @@
-
-
-
+
+ ]]>
sets the property foo.dist to the value "dist".
-
-
-
+
+ ]]>
reads a set of properties from a file called "foo.properties".
-
-
-
+
+ ]]>
reads a set of properties from a resource called "foo.properties".
Note that you can reference a global properties file for all of your Ant
builds using the following:
-
-
-
+
+ ]]>
since the "user.home" property is defined by the Java virtual machine
to be your home directory. Where the "user.home" property resolves to in
the file system depends on the operating system version and the JVM implementation.
@@ -51,11 +51,11 @@ variants, this will most likely resolve to the user's directory in the "Doc
and Settings" folder. Older windows variants such as Windows 98/ME are less
predictable, as are other operating system/JVM combinations.
-
-
-
-
-
+
+
+
+]]>
reads the system environment variables and stores them in properties, prefixed with "env".
Note that this only works on select operating systems.
Two of the values are shown being echoed.
diff --git a/proposal/xdocs/src/org/apache/tools/ant/taskdefs/SubAnt.xml b/proposal/xdocs/src/org/apache/tools/ant/taskdefs/SubAnt.xml
index b79f89a2a..6a268f0af 100644
--- a/proposal/xdocs/src/org/apache/tools/ant/taskdefs/SubAnt.xml
+++ b/proposal/xdocs/src/org/apache/tools/ant/taskdefs/SubAnt.xml
@@ -26,10 +26,7 @@
- m4 foo.m4 > foo
-]]>
-