bodewig 00/10/18 02:49:28
Modified: docs index.html
Log:
Documented Ant's built in properties.
Revision Changes Path
1.133 +13 -0 jakarta-ant/docs/index.html
Index: index.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/index.html,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -r1.132 -r1.133
--- index.html 2000/10/16 11:59:32 1.132
+++ index.html 2000/10/18 09:49:27 1.133
@@ -375,6 +375,19 @@
<p>If there is a property called "builddir" with the value
"build", then this could be used in an attribute like this:
"${builddir}/classes".
This is resolved as "build/classes".</p>
+<h3>Built in Properties</h3>
+<p>Ant provides access to all system properties as if they had been
+defined using a property task, for example ${os.name} expands to the
+name of the operating system.</p>
+<p>In addition Ant knows some built in properties:</p>
+<ul>
+ <li>basedir - the absolute path of the project's basedir (as set
+ with the basedir attribute of <project>.</li>
+ <li>ant.file - the absolute path of the build file.</li>
+ <li>ant.java.version - the JVM version Ant detected. Currently it
+ can hold the values "1.1", "1.2" and
+ "1.3".</li>
+</ul>
<h3>Example</h3>
<blockquote>
<pre>