jhm 2003/11/25 03:31:48
Modified: docs/manual/CoreTypes selectors.html
Log:
Forgotten to describe comparators in <modified>
Revision Changes Path
1.17 +13 -3 ant/docs/manual/CoreTypes/selectors.html
Index: selectors.html
===================================================================
RCS file: /home/cvs/ant/docs/manual/CoreTypes/selectors.html,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- selectors.html 25 Sep 2003 13:54:28 -0000 1.16
+++ selectors.html 25 Nov 2003 11:31:48 -0000 1.17
@@ -604,7 +604,7 @@
<a name="modified"></a>
<h4>Modified Selector</h4>
- <p>The <modified> computes a value for a file, compares that
+ <p>The <modified> selector computes a value for a file, compares
that
to the value stored in a cache and select the file, if these two values
differ.</p>
<p>Because this selector is highly configurable the order in which the
selection is done
@@ -613,7 +613,7 @@
<li> get the cached value from the configured cache (absolute path
as key) </li>
<li> get the new value from the configured algorithm </li>
<li> compare these two values with the configured comparator </li>
- <li> update the cache if needed and wished </li>
+ <li> update the cache if needed and requested </li>
<li> do the selection according to the comparison result </li>
</ol>
The comparison, computing of the hashvalue and the store is done by
implementation
@@ -721,6 +721,17 @@
</ul>
</td>
</tr>
+ <tr><td colspan="2"><font size="+1"><b> Comparator�s
</b></font></td></tr>
+ <tr>
+ <td valign="top"> equal </td>
+ <td valign="top"> Very simple object comparison. </td>
+ </tr>
+ <tr>
+ <td valign="top"> rule </td>
+ <td valign="top"> Uses <i>java.text.RuleBasedCollator</i> for Object
+ comparison.
+ </td>
+ </tr>
</table>
<p>Here are some examples of how to use the Modified Selector:</p>
@@ -1186,6 +1197,5 @@
</body>
</html>
-
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]