NAnt SDK Documentation - v0.92

TarTask.Flatten Property

Ignore directory structure of source directory, compress all files into a single directory. The default value is false.

[Visual Basic]
<TaskAttribute(Required:=False, Name:="flatten", ExpandProperties:=True, ProcessXml:=True), _  BooleanValidator>
Overridable Public Property Flatten As Boolean
[C#]
[TaskAttribute(Required=False, Name="flatten", ExpandProperties=True, ProcessXml=True)]
[BooleanValidator]
public virtual bool Flatten {get; set;}

See Also

TarTask Class | NAnt.Compression.Tasks Namespace