Open Source .NET Development [Electronic resources]

Brian Nantz

نسخه متنی -صفحه : 275/ 186
نمايش فراداده

<concat>

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.

Attribute

Description

Required

destfile

Name of the destination file.

True

append

Whether to append to destination file or not. Default is false.

False

failonerror

Determines whether task failure stops the build or is just reported. Default is "true."

False

verbose

Task reports detailed build log messages. Default is "false."

False

if

If true then the task will be executed; otherwise skipped. Default is "true."

False

unless

Opposite of if. If false then the task will be executed; otherwise skipped. Default is "false."

False

Example

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