From c07521eee2396c407762f6827e0a7dd661788224 Mon Sep 17 00:00:00 2001
From: Matthew Jason Benson
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.
+