Browse Source

Forgotten to describe comparators in <modified>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275687 13f79535-47bb-0310-9956-ffa450edef68
master
Jan Materne 21 years ago
parent
commit
2429a99dd6
1 changed files with 13 additions and 3 deletions
  1. +13
    -3
      docs/manual/CoreTypes/selectors.html

+ 13
- 3
docs/manual/CoreTypes/selectors.html View File

@@ -604,7 +604,7 @@

<a name="modified"></a>
<h4>Modified Selector</h4>
<p>The &lt;modified&gt; computes a value for a file, compares that
<p>The &lt;modified&gt; 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>
@@ -1188,4 +1199,3 @@
</html>




Loading…
Cancel
Save