|
|
@@ -92,6 +92,7 @@ equivalent to an <code><and></code> selector container.</p> |
|
|
|
</table> |
|
|
|
|
|
|
|
<h4>Examples</h4> |
|
|
|
|
|
|
|
<blockquote><pre> |
|
|
|
<dirset dir="${build.dir}"> |
|
|
|
<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 |
|
|
|
<code>apps</code> subdirectory of <code>${build.dir}</code>, except those |
|
|
|
that have the text <code>Test</code> in their name.</p> |
|
|
|
|
|
|
|
<blockquote><pre> |
|
|
|
<dirset dir="${build.dir}"> |
|
|
|
<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 |
|
|
|
a PatternSet that can be referenced in other |
|
|
|
<code><dirset></code> elements, rooted at a different directory.</p> |
|
|
|
|
|
|
|
<blockquote><pre> |
|
|
|
<dirset dir="${debug_build.dir}"> |
|
|
|
<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>, |
|
|
|
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> |
|
|
|