ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r610580 - /ant/ivy/core/trunk/doc/configuration/properties.html
Date Wed, 09 Jan 2008 21:42:52 GMT
Author: maartenc
Date: Wed Jan  9 13:41:50 2008
New Revision: 610580

URL: http://svn.apache.org/viewvc?rev=610580&view=rev
Log:
NEW: Add support for importing environment variables (IVY-608)

Modified:
    ant/ivy/core/trunk/doc/configuration/properties.html

Modified: ant/ivy/core/trunk/doc/configuration/properties.html
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/doc/configuration/properties.html?rev=610580&r1=610579&r2=610580&view=diff
==============================================================================
--- ant/ivy/core/trunk/doc/configuration/properties.html (original)
+++ ant/ivy/core/trunk/doc/configuration/properties.html Wed Jan  9 13:41:50 2008
@@ -28,6 +28,9 @@
 <b>Tag:</b> properties<br/>
 <br/>
 Loads a properties file into ivy variables. See variables chapter above for details about
ivy variables.
+
+<span class="since">Since 2.0</span>: 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.
+
 <h1>Attributes</h1>
 <table class="ivy-attributes">
 <thead>
@@ -35,8 +38,9 @@
 </thead>
 <tbody>
     <tr><td>file</td><td>a path to a properties file to load</td>
-        <td>Yes</td></tr>
-    <tr><td>override</td><td>indicates if the variable found in the
properties file should override their previous value, if any <span class="since">since
1.3</span></td>
+        <td rowspan="2">One of these</td></tr>
+    <tr><td>environment</td><td>the prefix to use when retrieving
environment variables <span class="since">(since 2.0)</span></td>
+    <tr><td>override</td><td>indicates if the variable found in the
properties file should override their previous value, if any <span class="since">(since
1.3)</span></td>
         <td>No, defaults to true</td></tr>
 </tbody>
 </table>



Mime
View raw message