Browse Source

doc

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@538727 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 18 years ago
parent
commit
6169483340
1 changed files with 13 additions and 10 deletions
  1. +13
    -10
      docs/manual/CoreTasks/property.html

+ 13
- 10
docs/manual/CoreTasks/property.html View File

@@ -101,17 +101,18 @@ SYSTEM).
</tr>
<tr>
<td valign="top">resource</td>
<td valign="top">the resource name of the property file.</td>
<td valign="top"> the name of the classpath resource containing
properties settings in properties file format.</td>
<td valign="middle" align="center" rowspan="4">One of these, when
<b>not</b> using the name attribute</td>
</tr>
<tr>
<td valign="top">file</td>
<td valign="top">the filename of the property file .</td>
<td valign="top">the location of the properties file to load.</td>
</tr>
<tr>
<td valign="top">url</td>
<td valign="top">the url from which to read properties.</td>
<td valign="top">a url containing properties-format settings.</td>
</tr>
<tr>
<td valign="top">environment</td>
@@ -119,14 +120,15 @@ SYSTEM).
if you specify environment=&quot;myenv&quot; you will be able to access OS-specific
environment variables via property names &quot;myenv.PATH&quot; or
&quot;myenv.TERM&quot;. Note that if you supply a property name with a final
&quot;.&quot; it will not be doubled. ie environment=&quot;myenv.&quot; will still
&quot;.&quot; it will not be doubled; i.e. environment=&quot;myenv.&quot; will still
allow access of environment variables through &quot;myenv.PATH&quot; and
&quot;myenv.TERM&quot;. This functionality is currently only implemented
on <a href="#notes-env">select platforms</a>. Feel free to send patches to increase the
number of platforms this functionality is supported on ;).<br>
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.</td>
number of platforms on which this functionality is supported ;).<br>
Note also that properties are case-sensitive, even if the
environment variables on your operating system are not; e.g. Windows 2000's
system path variable is set to an Ant property named "env.Path"
rather than "env.PATH".</td>
</tr>
<tr>
<td valign="top">classpath</td>
@@ -142,8 +144,9 @@ SYSTEM).
</tr>
<tr>
<td valign="top">prefix</td>
<td valign="top">Prefix to apply to properties loaded using <code>file</code>
or <code>resource</code>. A "." is appended to the prefix if not specified.</td>
<td valign="top">Prefix to apply to properties loaded using <code>file</code>,
<code>resource</code>, or <code>url</code>.
A "." is appended to the prefix if not specified.</td>
<td align="center" valign="top">No</td>
</tr>
</table>


Loading…
Cancel
Save