|
@@ -630,20 +630,20 @@ Probe for the maven repository being reachable using the hostname, ten second ti |
|
|
<b>Since Ant 1.6.3</b> |
|
|
<b>Since Ant 1.6.3</b> |
|
|
</p> |
|
|
</p> |
|
|
|
|
|
|
|
|
Verify a string is of a certain length: |
|
|
|
|
|
<pre> |
|
|
<pre> |
|
|
<length string=" foo " trim="true" length="3"/> |
|
|
|
|
|
|
|
|
<length string=" foo " trim="true" length="3" /> |
|
|
</pre> |
|
|
</pre> |
|
|
|
|
|
<p>Verify a string is of a certain length.</p> |
|
|
|
|
|
|
|
|
Verify a file is not empty: |
|
|
|
|
|
<pre> |
|
|
<pre> |
|
|
<length file="foo" when="greater" length="0"/> |
|
|
|
|
|
|
|
|
<length file="foo" when="greater" length="0" /> |
|
|
</pre> |
|
|
</pre> |
|
|
|
|
|
<p>Verify that file <i>foo</i> is not empty.</p> |
|
|
|
|
|
|
|
|
<h4>isfailure</h4> |
|
|
<h4>isfailure</h4> |
|
|
|
|
|
|
|
|
<p>Test the return code of an executable (see |
|
|
|
|
|
<a href="exec.html"><exec></a>) for failure. <b>Since Ant 1.7</b></p> |
|
|
|
|
|
|
|
|
<p>Test the return code of an executable (see the |
|
|
|
|
|
<a href="exec.html">Exec</a> task) for failure. <b>Since Ant 1.7</b></p> |
|
|
|
|
|
|
|
|
<table border="1" cellpadding="2" cellspacing="0"> |
|
|
<table border="1" cellpadding="2" cellspacing="0"> |
|
|
<tr> |
|
|
<tr> |
|
@@ -658,6 +658,18 @@ Verify a file is not empty: |
|
|
</tr> |
|
|
</tr> |
|
|
</table> |
|
|
</table> |
|
|
|
|
|
|
|
|
|
|
|
<h4>resourcecount</h4> |
|
|
|
|
|
<p>This condition is a facet of the |
|
|
|
|
|
<a href="resourcecount.html">ResourceCount</a> task. |
|
|
|
|
|
It is used to test the size of a |
|
|
|
|
|
<a href="../CoreTypes/resources.html#collection">resource collection</a>. |
|
|
|
|
|
<b>Since Ant 1.7</b> |
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
|
|
|
|
<pre> |
|
|
|
|
|
<resourcecount refid="myresourcecollection" when="greater" length="0" /> |
|
|
|
|
|
</pre> |
|
|
|
|
|
<p>Verify that a resource collection is not empty.</p> |
|
|
<hr> |
|
|
<hr> |
|
|
<p align="center">Copyright © 2001-2005 Apache Software |
|
|
<p align="center">Copyright © 2001-2005 Apache Software |
|
|
Foundation. All rights Reserved.</p> |
|
|
Foundation. All rights Reserved.</p> |
|
|