NAnt
Help
Type Reference
<tarfileset> |
v0.85 |
A <tarfileset> is a <fileset> with extra attributes useful in the context of the <tar> task.
| Attribute | Type | Description | Required |
|---|---|---|---|
| dirmode | int | A 3 digit octal string, specify the user, group and other modes in the standard Unix fashion. Only applies to directories. The default is 755. |
False |
| filemode | int | A 3 digit octal string, specify the user, group and other modes in the standard Unix fashion. Only applies to plain files. The default is 644. |
False |
| gid | int | The group identifier (GID) for the tar entry. | False |
| groupname | string | The groupname for the tar entry. | False |
| prefix | string | The top level directory prefix. If set, all file and directory paths in the fileset will have this value prepended. Can either be a single directory name or a "/" separated path. | False |
| uid | int | The user identifier (UID) for the tar entry. | False |
| username | string | The username for the tar entry. | False |
| basedir | directory | The base of the directory of this fileset. The default is the project base directory. | False |
| defaultexcludes | bool | Indicates whether default excludes should be used or not. The default is true. | False |
| failonempty | bool | When set to true, causes the fileset element to throw a ValidationException when no files match the includes and excludes criteria. The default is false. | False |
| id | string | The ID used to be referenced later. | False |
| refid | string | The ID to use as the reference. | False |
| Attribute | Type | Description | Required |
|---|---|---|---|
| name | string | The pattern or file name to include. | True |
| asis | bool | If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. | False |
| frompath | bool | If true then the file will be searched for on the path. The default is false. | False |
| if | bool | If true then the pattern will be included; otherwise, skipped. The default is true. | False |
| unless | bool | Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. | False |
| Attribute | Type | Description | Required |
|---|---|---|---|
| name | string | The pattern or file name to include. | True |
| asis | bool | If true then the file name will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. | False |
| frompath | bool | If true then the file will be searched for on the path. The default is false. | False |
| if | bool | If true then the pattern will be included; otherwise, skipped. The default is true. | False |
| unless | bool | Opposite of if. If false then the pattern will be included; otherwise, skipped. The default is false. | False |
| Attribute | Type | Description | Required |
|---|---|---|---|
| name | string | The pattern or file name to exclude. | True |
| if | bool | If true then the pattern will be excluded; otherwise, skipped. The default is true. | False |
| unless | bool | Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. | False |
| Attribute | Type | Description | Required |
|---|---|---|---|
| name | string | The pattern or file name to exclude. | True |
| if | bool | If true then the pattern will be excluded; otherwise, skipped. The default is true. | False |
| unless | bool | Opposite of if. If false then the pattern will be excluded; otherwise, skipped. The default is false. | False |
| Attribute | Type | Description | Required |
|---|---|---|---|
| asis | bool | If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. | False |
| frompath | bool | If true then the patterns in the include file will be searched for on the path. The default is false. | False |
| if | bool | If true then the patterns will be included; otherwise, skipped. The default is true. | False |
| unless | bool | Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. | False |
| name | file | The name of a file; each line of this file is taken to be a pattern. | True |
| Attribute | Type | Description | Required |
|---|---|---|---|
| asis | bool | If true then the patterns in the include file will be added to the <fileset> without pattern matching or checking if the file exists. The default is false. | False |
| frompath | bool | If true then the patterns in the include file will be searched for on the path. The default is false. | False |
| if | bool | If true then the patterns will be included; otherwise, skipped. The default is true. | False |
| unless | bool | Opposite of if. If false then the patterns will be included; otherwise, skipped. The default is false. | False |
| name | file | The name of a file; each line of this file is taken to be a pattern. | True |
| Attribute | Type | Description | Required |
|---|---|---|---|
| name | file | The name of a file; each line of this file is taken to be a pattern. | True |
| if | bool | If true then the patterns will be excluded; otherwise, skipped. The default is true. | False |
| unless | bool | Opposite of if. If false then the patterns will be excluded; otherwise, skipped. The default is false. | False |