<concat>

A task that concatenates a set of files. Loosely based on Ant's Concat task.

This task takes a set of input files in a fileset and concatenates them into a single file. You can either replace the output file, or append to it by using the append attribute. The order the files are concatenated in is not especified.

Parameters

AttributeTypeDescriptionRequired
destfilestring Name of Destination file. True
appendbool Whether to append to the destination file (true), or replace it (false). Default is false. False
failonerrorboolFalse
ifboolFalse
unlessboolFalse
verboseboolFalse

Nested Elements:

<fileset>

Set of files to use as input

</fileset>

Examples

              <concat destfile="${outputdir}\Full.txt" append="true">
                 <fileset>
                    <includes name="${outputdir}\Test-*.txt" />
                 </fileset>
              </concat>