Author: mbenson Date: Wed May 16 13:51:31 2007 New Revision: 538727 URL: http://svn.apache.org/viewvc?view=rev&rev=538727 Log: doc
Modified: ant/core/trunk/docs/manual/CoreTasks/property.html Modified: ant/core/trunk/docs/manual/CoreTasks/property.html URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/CoreTasks/property.html?view=diff&rev=538727&r1=538726&r2=538727 ============================================================================== --- ant/core/trunk/docs/manual/CoreTasks/property.html (original) +++ ant/core/trunk/docs/manual/CoreTasks/property.html Wed May 16 13:51:31 2007 @@ -101,17 +101,18 @@ </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 @@ if you specify environment="myenv" you will be able to access OS-specific environment variables via property names "myenv.PATH" or "myenv.TERM". Note that if you supply a property name with a final - "." it will not be doubled. ie environment="myenv." will still + "." it will not be doubled; i.e. environment="myenv." will still allow access of environment variables through "myenv.PATH" and "myenv.TERM". 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 @@ </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> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]