CopyTask.

Flatten Property

Summary

Ignore directory structure of source directory, copy all files into a single directory, specified by the NAnt.Core.Tasks.CopyTask.ToDirectory attribute. The default is false.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Tasks
Containing Type
CopyTask

Syntax

[TaskAttribute("flatten")]
[BooleanValidator()]
public virtual bool Flatten { get; set; }

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
BooleanValidatorAttribute Used to indicate that a property should be able to be converted into a bool.

Value

Type Description
bool