From 14cdea5a95dbcf47cd2c0cdbc82186168b0388eb Mon Sep 17 00:00:00 2001 From: Kevin Jackson Date: Wed, 3 Jan 2007 10:51:08 +0000 Subject: [PATCH] -added hasfreespace doc git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@492099 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/conditions.html | 38 +++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/docs/manual/CoreTasks/conditions.html b/docs/manual/CoreTasks/conditions.html index 111f79e97..438e6bbc6 100644 --- a/docs/manual/CoreTasks/conditions.html +++ b/docs/manual/CoreTasks/conditions.html @@ -951,5 +951,43 @@ must match. Since Ant 1.7 <antversion exactly="1.7.0"/> </condition> +

hasfreespace

+ +

+ Tests a partition to see if there is enough space. + Since Ant 1.7.0

+

Needed attribute can be specified using standard computing terms:
+

+

+ + + + + + + + + + + + + + + + + +
AttributeDescriptionRequired
partitionThe partition or filesystem to check for freespaceYes
neededThe amount of freespace needed.Yes
+

+ An example: +

+
+<hasfreespace partition="c:" needed="100M"/>
+