ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: ant/docs/manual coretasklist.html
Date Mon, 23 May 2005 21:35:45 GMT
mbenson     2005/05/23 14:35:45

  Modified:    docs/manual coretasklist.html
  Added:       docs/manual/CoreTasks resourcecount.html
  Document the resourcecount task.
  Revision  Changes    Path
  1.1                  ant/docs/manual/CoreTasks/resourcecount.html
  Index: resourcecount.html
  <meta http-equiv="Content-Language" content="en-us">
  <link rel="stylesheet" type="text/css" href="../stylesheets/style.css">
  <title>ResourceCount Task</title>
  <p>Display or set a property containing the size of a nested
     <a href="../CoreTypes/resources.html#collection">Resource Collection</a>.
     Can also be used as a condition. <b>Since Ant 1.7</b></p>
  <table border="1" cellpadding="2" cellspacing="0">
      <td valign="top"><b>Attribute</b></td>
      <td valign="top"><b>Description</b></td>
      <td align="center" valign="top"><b>Required</b></td>
      <td valign="top">property</td>
      <td valign="top">The property to set. If omitted the results are written
        to the log. Ignored when processing as a condition.</td>
      <td valign="top" align="center">No</td>
      <td valign="top">refid</td>
      <td valign="top">A <a href="../using.html#references">reference</a>
        to a Resource Collection.</td>
      <td valign="top" align="center">
        Yes, unless a nested Resource Collection is supplied
      <td valign="top">count</td>
      <td valign="top">Comparison count for processing as a condition.</td>
      <td valign="top" align="center">Yes, in condition mode</td>
      <td valign="top">when</td>
      <td valign="top">Comparison type: "equal", "eq", "greater", "gt", "less",
        "lt", "ge" (greater or equal), "ne" (not equal), "le" (less or equal)
        for use when operating as a condition.</td>
      <td valign="top" align="center">No; default is "equal"</td>
  <h3>Parameters specified as nested elements</h3>
  <h4>Resource Collection</h4>
  <p>A single
    <a href="../CoreTypes/resources.html#collection">Resource Collection</a>
  should be specified via a nested element or the <code>refid</code> attribute.
  <pre>&lt;resourcecount property=&quot;;&gt;
    &lt;filelist dir=&quot;.&quot; files=&quot;foo,bar&quot; /&gt;
  <p>Stores the number of resources in the specified filelist (two)
  in the property named <i></i>.</p>
  <p align="center">Copyright &copy; 2005 The Apache Software Foundation.
    All rights Reserved.</p>
  1.62      +1 -0      ant/docs/manual/coretasklist.html
  Index: coretasklist.html
  RCS file: /home/cvs/ant/docs/manual/coretasklist.html,v
  retrieving revision 1.61
  retrieving revision 1.62
  diff -u -r1.61 -r1.62
  --- coretasklist.html	23 May 2005 20:03:14 -0000	1.61
  +++ coretasklist.html	23 May 2005 21:35:45 -0000	1.62
  @@ -78,6 +78,7 @@
   <a href="CoreTasks/recorder.html">Record</a><br>
   <a href="CoreTasks/rename.html"><i>Rename</i></a><br>
   <a href="CoreTasks/replace.html">Replace</a><br>
  +<a href="CoreTasks/resourcecount.html">ResourceCount</a><br>
   <a href="CoreTasks/rmic.html">Rmic</a><br>
   <a href="CoreTasks/sequential.html">Sequential</a><br>
   <a href="CoreTasks/signjar.html">SignJar</a><br>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message