|
|
@@ -72,6 +72,15 @@ attributes.</p> |
|
|
|
|
|
|
|
<h4>Examples</h4> |
|
|
|
<blockquote><pre> |
|
|
|
<fileset dir="${server.src}" casesensitive="yes" > |
|
|
|
<include name="**/*.java"/> |
|
|
|
<exclude name="**/*Test*"/> |
|
|
|
</fileset> |
|
|
|
</pre></blockquote> |
|
|
|
<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" > |
|
|
|
<include name="**/*.java"/> |
|
|
@@ -79,16 +88,16 @@ attributes.</p> |
|
|
|
</patternset> |
|
|
|
</fileset> |
|
|
|
</pre></blockquote> |
|
|
|
<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> |
|
|
|
<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"/> |
|
|
|
</fileset> |
|
|
|
</pre></blockquote> |
|
|
|
<p>Groups all files in directory <code>${client.src}</code>, using the |
|
|
|
same patterns as the example above.</p> |
|
|
|
same patterns as the above example.</p> |
|
|
|
|
|
|
|
<hr> |
|
|
|
<p align="center">Copyright © 2001 Apache Software Foundation. All rights |
|
|
|