ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject svn commit: r492099 - /ant/core/trunk/docs/manual/CoreTasks/conditions.html
Date Wed, 03 Jan 2007 10:51:09 GMT
Author: kevj
Date: Wed Jan  3 02:51:08 2007
New Revision: 492099

URL: http://svn.apache.org/viewvc?view=rev&rev=492099
Log:
-added hasfreespace doc

Modified:
    ant/core/trunk/docs/manual/CoreTasks/conditions.html

Modified: ant/core/trunk/docs/manual/CoreTasks/conditions.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/CoreTasks/conditions.html?view=diff&rev=492099&r1=492098&r2=492099
==============================================================================
--- ant/core/trunk/docs/manual/CoreTasks/conditions.html (original)
+++ ant/core/trunk/docs/manual/CoreTasks/conditions.html Wed Jan  3 02:51:08 2007
@@ -951,5 +951,43 @@
   <antversion exactly="1.7.0"/>
 </condition>
 </pre></blockquote>
+<h4>hasfreespace</h4>
+
+<p>
+  Tests a partition to see if there is enough space.
+  <b>Since Ant 1.7.0</b></p>
+  <p>Needed attribute can be specified using standard computing terms:<br/>
+    <ul>
+      <li>K : Kilobytes (1024 bytes)</li>
+      <li>M : Megabytes (1024 K)</li>
+      <li>G : Gigabytes (1024 M)</li>
+      <li>T : Terabytes (1024 G)</li>
+      <li>P : Petabytes (1024 T)</li>
+    </ul>
+  </p>
+
+<table border="1" cellpadding="2" cellspacing="0">
+  <tr>
+    <td valign="top"><b>Attribute</b></td>
+    <td valign="top"><b>Description</b></td>
+    <td align="center" valign="top"><b>Required</b></td>
+  </tr>
+  <tr>
+    <td valign="top">partition</td>
+    <td valign="top">The partition or filesystem to check for freespace</td>
+    <td valign="top" rowspan="2" align="center">Yes</td>
+  </tr>
+  <tr>
+    <td valign="top">needed</td>
+    <td valign="top">The amount of freespace needed.</td>
+    <td valign="top" rowspan="2" align="center">Yes</td>
+  </tr>
+</table>
+  <p>
+    An example:
+  </p>
+<blockquote><pre>
+&lt;hasfreespace partition="c:" needed="100M"/&gt;
+</pre></blockquote>
 </body>
 </html>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message