diff --git a/docs/manual/CoreTypes/resources.html b/docs/manual/CoreTypes/resources.html index b1b52b8fe..ee4e445a1 100644 --- a/docs/manual/CoreTypes/resources.html +++ b/docs/manual/CoreTypes/resources.html @@ -652,7 +652,10 @@ platforms. using the nested <control> element, which denotes a resources collection.
The following selects files a, b, c, and d:
+Assuming the namespace settings +
rsel="antlib:org.apache.tools.ant.types.resources.selectors"
+ rcmp="antlib:org.apache.tools.ant.types.resources.comparators"
+
The following selects files a, b, c, and d:
<restrict> <fileset dir="src" includes="a,b,c,d,e,f,g" /> @@ -764,8 +767,12 @@ platforms. <date /> </reverse> </sort>-
This takes all files from foo and sorts it by modification date in reverse order. - Because 'reverse' is in an internal antlib you have to set the namespace explicitly.
+This takes all files from foo
+ and sorts them by modification date in reverse order.
+ Because the resource comparators used (<reverse>
+ and <date>
) are in an internal antlib
+ their namespace must be set explicitly.
+