NAnt Help Task Reference <concat> | NAnt.Contrib.Tasks () |
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.Attribute | Type | Description | Required |
---|---|---|---|
destfile | string | Name of Destination file. | True |
append | bool | Whether to append to the destination file (true), or replace it (false). Default is false. | False |
failonerror | bool | False | |
if | bool | False | |
unless | bool | False | |
verbose | bool | False |
<concat destfile="${outputdir}\Full.txt" append="true"> <fileset> <includes name="${outputdir}\Test-*.txt" /> </fileset> </concat>