You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by jh...@apache.org on 2005/10/14 20:41:13 UTC

svn commit: r321170 - /ant/core/trunk/docs/manual/CoreTypes/fileset.html

Author: jhm
Date: Fri Oct 14 11:41:07 2005
New Revision: 321170

URL: http://svn.apache.org/viewcvs?rev=321170&view=rev
Log:
example for relative directories

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

Modified: ant/core/trunk/docs/manual/CoreTypes/fileset.html
URL: http://svn.apache.org/viewcvs/ant/core/trunk/docs/manual/CoreTypes/fileset.html?rev=321170&r1=321169&r2=321170&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/CoreTypes/fileset.html (original)
+++ ant/core/trunk/docs/manual/CoreTypes/fileset.html Fri Oct 14 11:41:07 2005
@@ -100,6 +100,7 @@
 <p>Groups all files in directory <code>${server.src}</code> that are Java
 source files and don't have the text <code>Test</code> in their
 name.</p>
+
 <blockquote><pre>
 &lt;fileset dir=&quot;${server.src}&quot; casesensitive=&quot;yes&quot;&gt;
   &lt;patternset id=&quot;non.test.sources&quot;&gt;
@@ -111,6 +112,7 @@
 <p>Groups the same files as the above example, but also establishes
 a PatternSet that can be referenced in other
 <code>&lt;fileset&gt;</code> elements, rooted at a different directory.</p>
+
 <blockquote><pre>
 &lt;fileset dir=&quot;${client.src}&quot; &gt;
   &lt;patternset refid=&quot;non.test.sources&quot;/&gt;
@@ -118,6 +120,7 @@
 </pre></blockquote>
 <p>Groups all files in directory <code>${client.src}</code>, using the
 same patterns as the above example.</p>
+
 <blockquote><pre>
 &lt;fileset dir=&quot;${server.src}&quot; casesensitive=&quot;yes&quot;&gt;
   &lt;filename name=&quot;**/*.java&quot;/&gt;
@@ -126,6 +129,7 @@
 </pre></blockquote>
 <p>Groups the same files as the top example, but using the
 <code>&lt;filename&gt;</code> selector.</p>
+
 <blockquote><pre>
 &lt;fileset dir=&quot;${server.src}&quot; casesensitive=&quot;yes&quot;&gt;
   &lt;filename name=&quot;**/*.java&quot;/&gt;
@@ -137,6 +141,12 @@
 <p>Groups the same files as the previous example using a combination of the
 <code>&lt;filename&gt;</code> selector and the <code>&lt;not&gt;</code>
 selector container.</p>
+
+<blockquote><pre>
+&lt;fileset dir="src" includes="main/" /&gt;
+</pre></blockquote>
+<p>Selects all files in <i>src/main</i> (e.g. <i>src/main/Foo.java</i> or 
+<i>src/main/application/Bar.java</i>).</p>
 
 <hr>
 <p align="center">Copyright &copy; 2000-2005 The Apache Software Foundation.



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