From 55e44c4ce74608f62c303f7db4798b23c8c3981a Mon Sep 17 00:00:00 2001
From: Stefan Bodewig
Date: Mon, 29 Nov 2010 15:46:05 +0000
Subject: [PATCH] document all known differences WRT environment variables. PR
49366.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1040160 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/Tasks/property.html | 36 ++++++++++++++++++++++++---------
1 file changed, 27 insertions(+), 9 deletions(-)
diff --git a/docs/manual/Tasks/property.html b/docs/manual/Tasks/property.html
index d3a1243ab..c0a3b9615 100644
--- a/docs/manual/Tasks/property.html
+++ b/docs/manual/Tasks/property.html
@@ -63,15 +63,6 @@ according to Suns DTD,
if Java5+ is present. For this the name of the file, resource or url has
to end with .xml.
-OpenVMS Users
-With the environment
attribute this task will load all defined
-logicals on an OpenVMS system. Logicals with multiple equivalence names get
-mapped to a property whose value is a comma separated list of all equivalence
-names. If a logical is defined in multiple tables, only the most local
-definition is available (the table priority order being PROCESS, JOB, GROUP,
-SYSTEM).
-
-
Parameters
@@ -176,6 +167,33 @@ SYSTEM).
+OpenVMS Users
+With the environment
attribute this task will load all defined
+logicals on an OpenVMS system. Logicals with multiple equivalence names get
+mapped to a property whose value is a comma separated list of all equivalence
+names. If a logical is defined in multiple tables, only the most local
+definition is available (the table priority order being PROCESS, JOB, GROUP,
+SYSTEM).
+
+
+Any OS except OpenVMS
+Starting with Ant 1.8.2 if Ant detects it is running of a Java 1.5
+ VM (or better) Ant will use System.getenv
rather than
+ its own OS dependent native implementation. For some OSes this
+ causes minor differences when compared to older versions of Ant.
+ For a full list
+ see Bugzilla
+ Issue 49366. In particular:
+
+ - On Windows Ant will now return additional "environment
+ variables" that correspond to the drive specific current working
+ directories when Ant is run from the command line. The keys of
+ these variables starts with an equals sign.
+ - Some users reported that some Cygwin specific variables (in
+ particular PROMPT) was no longer present.
+ - On OS/2 Ant no longer returns the BEGINLIBPATH variable.
+
+
Parameters specified as nested elements
classpath
Property
's classpath attribute is a