FileLists offer a way to represent a specific list of files. Unlike FileSets, FileLists may contain files that do not exist on the filesystem. Also, FileLists can represent files in a specific order -- whereas FileSets represent files in whichever order they are returned by the filesystem.
Table 180. Attributes for the <fileset>
tag
Name | Type | Description | Default | Required |
---|---|---|---|---|
dir |
String |
The directory, to which the paths given in files
or listfile are relative.
|
n/a | Yes |
files |
String |
Comma or space-separated list of files. | n/a | Yes (or listfile)
|
listfile |
String |
A text file with one filename per line. | n/a | Yes (or files)
|