@@ -92,6 +92,7 @@ equivalent to an <code><and></code> selector container.</p>
</table>
</table>
<h4>Examples</h4>
<h4>Examples</h4>
<blockquote><pre>
<blockquote><pre>
<dirset dir="${build.dir}">
<dirset dir="${build.dir}">
<include name="apps/**/classes"/>
<include name="apps/**/classes"/>
@@ -101,6 +102,7 @@ equivalent to an <code><and></code> selector container.</p>
<p>Groups all directories named <code>classes</code> found under the
<p>Groups all directories named <code>classes</code> found under the
<code>apps</code> subdirectory of <code>${build.dir}</code>, except those
<code>apps</code> subdirectory of <code>${build.dir}</code>, except those
that have the text <code>Test</code> in their name.</p>
that have the text <code>Test</code> in their name.</p>
<blockquote><pre>
<blockquote><pre>
<dirset dir="${build.dir}">
<dirset dir="${build.dir}">
<patternset id="non.test.classes">
<patternset id="non.test.classes">
@@ -112,6 +114,7 @@ that have the text <code>Test</code> in their name.</p>
<p>Groups the same directories as the above example, but also establishes
<p>Groups the same directories as the above example, but also establishes
a PatternSet that can be referenced in other
a PatternSet that can be referenced in other
<code><dirset></code> elements, rooted at a different directory.</p>
<code><dirset></code> elements, rooted at a different directory.</p>
<blockquote><pre>
<blockquote><pre>
<dirset dir="${debug_build.dir}">
<dirset dir="${debug_build.dir}">
<patternset refid="non.test.classes"/>
<patternset refid="non.test.classes"/>
@@ -120,6 +123,15 @@ a PatternSet that can be referenced in other
<p>Groups all directories in directory <code>${debug_build.dir}</code>,
<p>Groups all directories in directory <code>${debug_build.dir}</code>,
using the same patterns as the above example.</p>
using the same patterns as the above example.</p>
<blockquote><pre>
<dirset id="dirset" dir="${workingdir}">
<present targetdir="${workingdir}">
<mapper type="glob" from="*" to="*/${markerfile}" />
</present>
</dirset>
</pre></blockquote>
<p>Selects all directories somewhere under <code>${workingdir}</code>
which contain a <code>${markerfile}</code>.</p>
</body>
</body>