@@ -16,9 +16,8 @@ specifying files that may or may not exist. Multiple files are
specified as a list of files, relative to the specified directory,
with no support for wildcard expansion (filenames with wildcards will be
included in the list unchanged).
FileLists can appear inside tasks that support this feature or at the
same level as <code><target></code> (i.e., as children of
<code><project></code>).
FileLists can appear inside tasks that support this feature or as stand-alone
types.
</p>
<table border="1" cellpadding="2" cellspacing="0">
<tr>
@@ -33,11 +32,30 @@ same level as <code><target></code> (i.e., as children of
</tr>
<tr>
<td valign="top">files</td>
<td valign="top">The list of file names.</td>
<td valign="top" align="center">Yes</td>
<td valign="top">The list of file names. This is a list of
file name separated by whitespace, or by commas.</td>
<td valign="top" align="center">
Yes, unless there is a nested file element</td>
</tr>
</table>
<h4>Nested Element: file</h4>
<p>
This represents a file name. The nested element allows filenames containing
white space and commas.
</p>
<p><em>Since ant 1.7</em></p>
<table border="1" cellpadding="2" cellspacing="0">
<tr>
<td valign="top"><b>Attribute</b></td>
<td valign="top"><b>Description</b></td>
<td align="center" valign="top"><b>Required</b></td>
</tr>
<tr>
<td valign="top">name</td>
<td valign="top">The name of the file.</td>
<td valign="top" align="center">Yes</td>
</tr>
</table>
<h4>Examples</h4>
<blockquote><pre>
<filelist
@@ -67,6 +85,17 @@ actually exist.
<p>Same files as the example above.</p>
<blockquote><pre>
<filelist
id="docfiles"
dir="${doc.src}">
<file name="foo.xml"/>
<file name="bar.xml"/>
</filelist>
</pre></blockquote>
<p>Same files as the example above.</p>
<hr>
<p align="center">Copyright © 2001-2002,2004 The Apache Software Foundation. All rights
Reserved.</p>