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>
<fileset dir="${server.src}" casesensitive="yes">
<patternset id="non.test.sources">
@@ -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><fileset></code> elements, rooted at a different directory.</p>
+
<blockquote><pre>
<fileset dir="${client.src}" >
<patternset refid="non.test.sources"/>
@@ -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>
<fileset dir="${server.src}" casesensitive="yes">
<filename name="**/*.java"/>
@@ -126,6 +129,7 @@
</pre></blockquote>
<p>Groups the same files as the top example, but using the
<code><filename></code> selector.</p>
+
<blockquote><pre>
<fileset dir="${server.src}" casesensitive="yes">
<filename name="**/*.java"/>
@@ -137,6 +141,12 @@
<p>Groups the same files as the previous example using a combination of the
<code><filename></code> selector and the <code><not></code>
selector container.</p>
+
+<blockquote><pre>
+<fileset dir="src" includes="main/" />
+</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 © 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