From 765bd26ad705bc14b48624d5313a015fd0734eac Mon Sep 17 00:00:00 2001 From: Matthew Jason Benson Date: Tue, 10 Oct 2006 17:42:25 +0000 Subject: [PATCH] reluctantly added example just because I promised. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@454846 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTypes/resources.html | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/manual/CoreTypes/resources.html b/docs/manual/CoreTypes/resources.html index bcde85951..31954cdb2 100644 --- a/docs/manual/CoreTypes/resources.html +++ b/docs/manual/CoreTypes/resources.html @@ -649,7 +649,18 @@ platforms.

The resources against which comparisons will be made must be specified using the nested <control> element, which denotes a resources collection.

- +

Examples

+

The following selects files a, b, c, and d:

+
+<restrict>
+  <fileset dir="src" includes="a,b,c,d,e,f,g" />
+  <rsel:compare when="le" against="all">
+    <control>
+      <resource name="d" />
+    </control>
+    <rcmp:name />
+  </rsel:compare>
+</restrict>

sort