From b443192f7abef76460bff5a6b29ad5818de1cf06 Mon Sep 17 00:00:00 2001 From: Jan Materne Date: Fri, 14 Oct 2005 18:41:07 +0000 Subject: [PATCH] example for relative directories git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@321170 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTypes/fileset.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/manual/CoreTypes/fileset.html b/docs/manual/CoreTypes/fileset.html index ad3bbb2fa..f7d91d568 100644 --- a/docs/manual/CoreTypes/fileset.html +++ b/docs/manual/CoreTypes/fileset.html @@ -100,6 +100,7 @@ platforms.

Groups all files in directory ${server.src} that are Java source files and don't have the text Test in their name.

+
 <fileset dir="${server.src}" casesensitive="yes">
   <patternset id="non.test.sources">
@@ -111,6 +112,7 @@ name.

Groups the same files as the above example, but also establishes a PatternSet that can be referenced in other <fileset> elements, rooted at a different directory.

+
 <fileset dir="${client.src}" >
   <patternset refid="non.test.sources"/>
@@ -118,6 +120,7 @@ a PatternSet that can be referenced in other
 

Groups all files in directory ${client.src}, using the same patterns as the above example.

+
 <fileset dir="${server.src}" casesensitive="yes">
   <filename name="**/*.java"/>
@@ -126,6 +129,7 @@ same patterns as the above example.

Groups the same files as the top example, but using the <filename> selector.

+
 <fileset dir="${server.src}" casesensitive="yes">
   <filename name="**/*.java"/>
@@ -138,6 +142,12 @@ same patterns as the above example.

<filename> selector and the <not> selector container.

+
+<fileset dir="src" includes="main/" />
+
+

Selects all files in src/main (e.g. src/main/Foo.java or +src/main/application/Bar.java).

+

Copyright © 2000-2005 The Apache Software Foundation. All rights Reserved.