diff --git a/docs/manual/CoreTasks/property.html b/docs/manual/CoreTasks/property.html
index 55eac9832..64ecd1e87 100644
--- a/docs/manual/CoreTasks/property.html
+++ b/docs/manual/CoreTasks/property.html
@@ -122,12 +122,11 @@ SYSTEM).
"." it will not be doubled. ie environment="myenv." will still
allow access of environment variables through "myenv.PATH" and
"myenv.TERM". This functionality is currently only implemented
- on select platforms. Feel free to send patches to increase the number of platforms
- this functionality is supported on ;).
+ on select platforms. Feel free to send patches to increase the
+ number of platforms this functionality is supported on ;).
Note also that properties are case sensitive, even if the
environment variables on your operating system are not, e.g. it
will be ${env.Path} not ${env.PATH} on Windows 2000.
-
+ Ant runs on Java 1.2 therefore it cant use Java5 features for accessing environment
+ variables. So it starts a command in a new process which prints the environment variables,
+ analyzes the output and creates the properties.
+ There are commands for the following operating systems implemented in
+
+ Execute.java (method getProcEnvCommand()):
+
OS | +command | +
---|---|
os/2 | +cmd /c set | +
windows | +|
* win9x | +command.com /c set | +
* other | +cmd /c set | +
z/os | +/bin/env OR /usr/bin/env OR env (depending on read rights) | +
unix | +/bin/env OR /usr/bin/env OR env (depending on read rights) | +
netware | +env | +
os/400 | +env | +
openvms | +show logical | +