From 169b914f9dfafcaed17add2038a1621dffa31740 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Thu, 18 Nov 2004 09:44:28 +0000 Subject: [PATCH] Clarify patterns, PR: 32148 git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277046 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/dirtasks.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/manual/dirtasks.html b/docs/manual/dirtasks.html index 960d15b7e..8f73d634f 100644 --- a/docs/manual/dirtasks.html +++ b/docs/manual/dirtasks.html @@ -65,6 +65,15 @@ the default excludes).

of files. These patterns look very much like the patterns used in DOS and UNIX:

'*' matches zero or more characters, '?' matches one character.

+ +

In general, patterns are considered relative paths, relative to a +task dependent base directory (the dir attribute in the case of +<fileset>). Only files found below that base +directory are considered. So while a pattern like +../foo.java is possible, it will not match anything when +applied since the base directory's parent is never scanned for +files.

+

Examples:

*.java  matches  .java,