From 2429a99dd695f4832b9321b72835944922fc176d Mon Sep 17 00:00:00 2001 From: Jan Materne Date: Tue, 25 Nov 2003 11:31:48 +0000 Subject: [PATCH] Forgotten to describe comparators in git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275687 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTypes/selectors.html | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/docs/manual/CoreTypes/selectors.html b/docs/manual/CoreTypes/selectors.html index fa30afcc2..303b25342 100755 --- a/docs/manual/CoreTypes/selectors.html +++ b/docs/manual/CoreTypes/selectors.html @@ -604,7 +604,7 @@

Modified Selector

-

The <modified> computes a value for a file, compares that +

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.

Because this selector is highly configurable the order in which the selection is done @@ -613,7 +613,7 @@

  • get the cached value from the configured cache (absolute path as key)
  • get the new value from the configured algorithm
  • compare these two values with the configured comparator
  • -
  • update the cache if needed and wished
  • +
  • update the cache if needed and requested
  • do the selection according to the comparison result
  • The comparison, computing of the hashvalue and the store is done by implementation @@ -721,6 +721,17 @@ + Comparatorīs + + equal + Very simple object comparison. + + + rule + Uses java.text.RuleBasedCollator for Object + comparison. + +

    Here are some examples of how to use the Modified Selector:

    @@ -1188,4 +1199,3 @@ -