From db072584a7bd035f2c629c7f7fc68f11337fbe02 Mon Sep 17 00:00:00 2001 From: Matthew Jason Benson Date: Mon, 23 May 2005 20:47:40 +0000 Subject: [PATCH] Update concat documentation for ResourceCollections. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278341 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/concat.html | 46 ++++++++++--------------------- 1 file changed, 14 insertions(+), 32 deletions(-) diff --git a/docs/manual/CoreTasks/concat.html b/docs/manual/CoreTasks/concat.html index acfb9f21c..53ad16ea5 100644 --- a/docs/manual/CoreTasks/concat.html +++ b/docs/manual/CoreTasks/concat.html @@ -13,17 +13,17 @@

Description

- Concatenates a file, or a series of files, to a single file or - the console. The destination file will be created if it does - not exist. + Concatenates one or more + resources + to a single file or to the console. The destination + file will be created if it does not exist.

- Paths and/or - FileSets and/or FileLists are used to - select which files are to be concatenated. There is no - singular 'file' attribute to specify a single file to cat. + +Resource Collections are used to + select which resources are to be concatenated. There is no + singular attribute to specify a single resource to cat.

Parameters

@@ -127,7 +127,7 @@ binary - since ant 1.6.2 + since Ant 1.6.2 If this attribute is set to true, the task concatenates the files in a byte by byte fashion. If this attribute is false, concat will not normally work for binary files due to character encoding @@ -144,33 +144,15 @@

Parameters specified as nested elements

-

path

-

since Ant 1.6.

+

Resource Collection

+

since Ant 1.7.

- This is a Path. This is - used to select file files to be concatenated. Note that - a file can only appear once in a path. If this is - an issue consider using multiple paths. + Any of the various + Resource Collection types can specify the resources to be + concatenated.

-

fileset

- -

- FileSets are used to - select files to be concatenated. Note that the order in which - the files selected from a fileset are concatenated is - not guaranteed. If this is an issue, use multiple - filesets or consider using filelists. -

-

filelist

- -

- FileLists are used to - select files to be concatenated. The file ordering in the - files attribute will be the same order in which the - files are concatenated. -

filterchain

since Ant 1.6.

The concat task supports nested