You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bo...@apache.org on 2004/11/18 10:44:28 UTC
cvs commit: ant/docs/manual dirtasks.html
bodewig 2004/11/18 01:44:28
Modified: docs/manual dirtasks.html
Log:
Clarify patterns, PR: 32148
Revision Changes Path
1.23 +9 -0 ant/docs/manual/dirtasks.html
Index: dirtasks.html
===================================================================
RCS file: /home/cvs/ant/docs/manual/dirtasks.html,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- dirtasks.html 20 Apr 2004 12:48:43 -0000 1.22
+++ dirtasks.html 18 Nov 2004 09:44:28 -0000 1.23
@@ -65,6 +65,15 @@
of files. These patterns look very much like the patterns used in DOS and
UNIX:</p>
<p>'*' matches zero or more characters, '?' matches one character.</p>
+
+<p>In general, patterns are considered relative paths, relative to a
+task dependent base directory (the dir attribute in the case of
+<code><fileset></code>). Only files found below that base
+directory are considered. So while a pattern like
+<code>../foo.java</code> is possible, it will not match anything when
+applied since the base directory's parent is never scanned for
+files.</p>
+
<p><b>Examples:</b></p>
<p>
<code>*.java</code> matches <code>.java</code>,
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org