next up previous contents index
Next: Examples Up: Tar Previous: Parameters   Contents   Index

Nested Elements

The tar task supports nested tarfileset elements. These are extended Filesets which, in addition to the standard fileset elements, support three additional attributes

Attribute Description Required
mode A 3 digit octal string, specify the user, group and other modes in the standard Unix fashion No
username The username for the tar entry. This is not the same as the UID, which is not currently set by the tar task. No
group The groupname for the tar entry. This is not the same as the GID, which is not currently set by the tar task. No
prefix If the prefix attribute is set, all files in the fileset are prefixed with that path in the archive. No
fullpath If the fullpath attribute is set, the file in the fileset is written with that path in the archive. The prefix attribute, if specified, is ignored. It is an error to have more than one file specified in such a fileset. No
preserveLeadingSlashes Indicates whether leading `/'s should be preserved in the file names. Default is false. No


next up previous contents index
Next: Examples Up: Tar Previous: Parameters   Contents   Index
Andrew Marlow 2003-07-08