## FileList

FileLists are explicitly named lists of files. Whereas FileSets act as filters, returning only those files that exist in the file system and match specified patterns, filelists are useful for specifying filenames that may or may not exist. Multiple files are specified via a comma-separated list, with no support for wildcards. FileLists can appear inside tasks that support this feature or at the same level as `target` - i.e., as children of `project`.

Attribute | Description | Required
dir | the base directory of this FileList. | Yes
files | Comma-separated list of file names. | Yes

#### Examples

>     <filelist
>         id="docfiles"
>         dir="${doc.src}"
>         files="foo.xml,bar.xml"/>

The files `${doc.src}/foo.xml` and `${doc.src}/bar.xml`. Note that these files may not (yet) actually exist.

>     <filelist refid="docfiles"/>

Same files as the example above.

Copyright © 2000,2001 Apache Software Foundation. All rights Reserved.