holtdl 02/04/12 07:47:16
Modified: docs/manual/CoreTypes filelist.html
Log:
Truth it up a bit.
Revision Changes Path
1.6 +19 -7 jakarta-ant/docs/manual/CoreTypes/filelist.html
Index: filelist.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTypes/filelist.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- filelist.html 3 Feb 2002 22:11:39 -0000 1.5
+++ filelist.html 12 Apr 2002 14:47:15 -0000 1.6
@@ -11,12 +11,14 @@
<p>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.
+system and match specified patterns, FileLists are useful for
+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>.
+same level as <code><target></code> (i.e., as children of
+<code><project></code>).
</p>
<table border="1" cellpadding="2" cellspacing="0">
<tr>
@@ -26,12 +28,12 @@
</tr>
<tr>
<td valign="top">dir</td>
- <td valign="top">the base directory of this FileList.</td>
+ <td valign="top">The base directory of this FileList.</td>
<td valign="top" align="center">Yes</td>
</tr>
<tr>
<td valign="top">files</td>
- <td valign="top">Comma-separated list of file names.</td>
+ <td valign="top">The list of file names.</td>
<td valign="top" align="center">Yes</td>
</tr>
</table>
@@ -48,6 +50,16 @@
<code>${doc.src}/bar.xml</code>. Note that these files may not (yet)
actually exist.
</p>
+
+<blockquote><pre>
+<filelist
+ id="docfiles"
+ dir="${doc.src}"
+ files="foo.xml
+ bar.xml"/>
+</pre></blockquote>
+
+<p>Same files as the example above.</p>
<blockquote><pre>
<filelist refid="docfiles"/>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>