ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@locus.apache.org
Subject cvs commit: jakarta-ant/docs index.html
Date Wed, 18 Oct 2000 09:49:28 GMT
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 &quot;builddir&quot; with the value
   &quot;build&quot;, then this could be used in an attribute like this: &quot;${builddir}/classes&quot;.
   This is resolved as &quot;build/classes&quot;.</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 &lt;project&gt;.</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 &quot;1.1&quot;, &quot;1.2&quot; and
  +    &quot;1.3&quot;.</li>
  +</ul>
   <h3>Example</h3>
   <blockquote>
     <pre>
  
  
  

Mime
View raw message