From e208a40a758d9a872bc30e484173236f1944c60d Mon Sep 17 00:00:00 2001
From: Matthew Jason Benson
-<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.