On 2010-04-13, Raja Nagendra Kumar <nagendra.r...@tejasoft.com> wrote:

> Any reason, why <filelist> does not support include and excludes as in
> fileset.

The short version: Because they wouldn't make sense (well exclude
wouldn't and the nested include element just has a different name:
<file>).

<fileset> means: scan the file system for files matching one of the
include patterns and none of the exclude patterns and return what you've
found.

<filelist> means: here is a list of files that may or may not be there,
return all of them don't check whether they are there at all.  No
wildcards supported.

If you look at it this way, exclude doesnt make sense for <filelist>
since you already list all files explicitly anyway.  If you need to
filter the results, wrap the filelist in a <restrict>.

> It would be very nice to have such support.

What would you use them for that you cannot do with the existing
functionality?

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to