diff --git a/docs/manual/CoreTasks/conditions.html b/docs/manual/CoreTasks/conditions.html index e82d5e3e8..ecd5c1307 100644 --- a/docs/manual/CoreTasks/conditions.html +++ b/docs/manual/CoreTasks/conditions.html @@ -630,20 +630,20 @@ Probe for the maven repository being reachable using the hostname, ten second ti Since Ant 1.6.3
-Verify a string is of a certain length:-<length string=" foo " trim="true" length="3"/> +<length string=" foo " trim="true" length="3" />+
Verify a string is of a certain length.
-Verify a file is not empty:-<length file="foo" when="greater" length="0"/> +<length file="foo" when="greater" length="0" />+
Verify that file foo is not empty.
Test the return code of an executable (see -<exec>) for failure. Since Ant 1.7
+Test the return code of an executable (see the +Exec task) for failure. Since Ant 1.7
This condition is a facet of the + ResourceCount task. + It is used to test the size of a + resource collection. + Since Ant 1.7 +
+ ++<resourcecount refid="myresourcecollection" when="greater" length="0" /> ++
Verify that a resource collection is not empty.
Copyright © 2001-2005 Apache Software Foundation. All rights Reserved.