You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by mb...@apache.org on 2006/10/10 19:42:25 UTC

svn commit: r454846 - /ant/core/trunk/docs/manual/CoreTypes/resources.html

Author: mbenson
Date: Tue Oct 10 10:42:25 2006
New Revision: 454846

URL: http://svn.apache.org/viewvc?view=rev&rev=454846
Log:
reluctantly added example just because I promised.

Modified:
    ant/core/trunk/docs/manual/CoreTypes/resources.html

Modified: ant/core/trunk/docs/manual/CoreTypes/resources.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/CoreTypes/resources.html?view=diff&rev=454846&r1=454845&r2=454846
==============================================================================
--- ant/core/trunk/docs/manual/CoreTypes/resources.html (original)
+++ ant/core/trunk/docs/manual/CoreTypes/resources.html Tue Oct 10 10:42:25 2006
@@ -649,7 +649,18 @@
   <p>The resources against which comparisons will be made must be specified
     using the nested &lt;control&gt; element, which denotes a
     <a href="#resources">resources</a> collection.</p>
-
+  <h4>Examples</h4>
+  <p>The following selects files a, b, c, and d:</p>
+  <pre>
+&lt;restrict&gt;
+  &lt;fileset dir="src" includes="a,b,c,d,e,f,g" /&gt;
+  &lt;rsel:compare when="le" against="all"&gt;
+    &lt;control&gt;
+      &lt;resource name="d" /&gt;
+    &lt;/control&gt;
+    &lt;rcmp:name /&gt;
+  &lt;/rsel:compare&gt;
+&lt;/restrict&gt;</pre>
 </blockquote>
 
 <h4><a name="sort">sort</a></h4>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org