From d032ff4182d5775e3996dc60d7b1a113ae76f8eb Mon Sep 17 00:00:00 2001 From: Maarten Coene Date: Wed, 9 Jan 2008 21:41:50 +0000 Subject: [PATCH] NEW: Add support for importing environment variables (IVY-608) git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@610580 13f79535-47bb-0310-9956-ffa450edef68 --- doc/configuration/properties.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/configuration/properties.html b/doc/configuration/properties.html index ce9d7091..f6f5904f 100644 --- a/doc/configuration/properties.html +++ b/doc/configuration/properties.html @@ -28,6 +28,9 @@ Tag: properties

Loads a properties file into ivy variables. See variables chapter above for details about ivy variables. + +Since 2.0: it is possible to access environment variables. This can be done by specifying the environment attribute. This attribute specifies the prefix which can be used to access these environment variables. For instance, if you specify environment="env", you can access the PATH environment variable with the env.PATH property name. +

Attributes

@@ -35,8 +38,9 @@ Loads a properties file into ivy variables. See variables chapter above for deta - - + + +
filea path to a properties file to loadYes
overrideindicates if the variable found in the properties file should override their previous value, if any since 1.3One of these
environmentthe prefix to use when retrieving environment variables (since 2.0)
overrideindicates if the variable found in the properties file should override their previous value, if any (since 1.3) No, defaults to true