NAnt.CompressionTasks
Summary description for ExpandTask.
Extracts a file entry from the specified stream.
The containing the compressed entry.
The directory where to store the expanded file.
The name of the entry including directory information.
The date of the entry.
The uncompressed size of the entry.
The destination directory for the entry could not be created.
-or-
The entry could not be extracted.
We cannot rely on the fact that the directory entry of a given file
is created before the file is extracted, so we should create the
directory if it doesn't yet exist.
Extracts a directory entry from the specified stream.
The containing the directory entry.
The directory where to create the subdirectory.
The name of the directory entry.
The date of the entry.
The destination directory for the entry could not be created.
Overwrite files, even if they are newer than the corresponding
entries in the archive. The default is .
Expands a file packed using GZip compression.
Expands "test.tar.gz" to "test2.tar".
]]>
Extracts the file from the gzip archive.
The file to expand.
The destination file.
Creates a tar file from the specified filesets.
Uses #ziplib (SharpZipLib), an open source Tar/Zip/GZip library written entirely in C#.
Tar all files in ${build.dir} and ${doc.dir} into a file
called "backup.tar.gz", and apply gzip compression to it.
]]>
Creates the tar file.
The tar file to create.
Include empty directories in the generated tar file. The default is
.
The set of files to be included in the archive.
The compression method. The default is .
Extracts files from a tar archive.
Uses #ziplib
(SharpZipLib), an open source Zip/GZip library written entirely in C#.
Extracts all files from a gzipped tar, preserving the directory structure.
]]>
Extracts the files from the archive.
The archive file to expand.
The directory where to store the expanded file(s). The default is
the project base directory.
The compression method. The default is .
Extracts files from a zip archive.
Uses #ziplib
(SharpZipLib), an open source Zip/GZip library written entirely in C#.
Extracts all the file from the zip, preserving the directory structure.
]]>
Extracts the files from the zip file.
The archive file to expand.
The directory where the expanded files should be stored. The
default is the project base directory.
The character encoding that has been used for filenames inside the
zip file. The default is the system's OEM code page.
Creates a zip file from the specified filesets.
Uses #ziplib
(SharpZipLib), an open source Tar/Zip/GZip library written entirely in C#.
Zip all files in ${build.dir} and ${doc.dir} into a file
called "backup.zip".
]]>
Creates the zip file.
The zip file to create.
The comment for the file.
Date/time stamp for the files in the format MM/DD/YYYY HH:MM:SS.
Desired level of compression. Possible values are 0 (STORE only)
to 9 (highest). The default is 6.
Include empty directories in the generated zip file. The default is
.
The set of files to be included in the archive.
Specifies the behaviour when a duplicate file is found. The default
is .
The character encoding to use for filenames and comment inside the
zip file. The default is the system's OEM code page.
Specifies how entries with the same name should be processed.
Overwrite existing entry with same name.
Preserve existing entry with the same name.
Report failure when two entries have the same name.
Specialized for
that ignores case when converting from string.
Initializes a new instance of the
class.
Converts the given object to the type of this converter, using the
specified context and culture information.
An that provides a format context.
A object. If a is passed, the current culture is assumed.
The to convert.
An that represents the converted value.
Specifies the compression methods supported by
and .
No compression.
GZIP compression.
BZIP2 compression.
Specialized for
that ignores case when converting from string.
Initializes a new instance of the
class.
Converts the given object to the type of this converter, using the
specified context and culture information.
An that provides a format context.
A object. If a is passed, the current culture is assumed.
The to convert.
An that represents the converted value.
A is a with extra
attributes useful in the context of the .
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.
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.
The username for the tar entry.
The user identifier (UID) for the tar entry.
The groupname for the tar entry.
The group identifier (GID) for the tar entry.
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.
Contains a collection of elements.
Initializes a new instance of the class.
Initializes a new instance of the class
with the specified instance.
Initializes a new instance of the class
with the specified array of instances.
Adds a to the end of the collection.
The to be added to the end of the collection.
The position into which the new element was inserted.
Adds the elements of a array to the end of the collection.
The array of elements to be added to the end of the collection.
Adds the elements of a to the end of the collection.
The to be added to the end of the collection.
Determines whether a is in the collection.
The to locate in the collection.
if is found in the
collection; otherwise, .
Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.
The zero-based index in at which copying begins.
Retrieves the index of a specified object in the collection.
The object for which the index is returned.
The index of the specified . If the is not currently a member of the collection, it returns -1.
Inserts a into the collection at the specified index.
The zero-based index at which should be inserted.
The to insert.
Returns an enumerator that can iterate through the collection.
A for the entire collection.
Removes a member from the collection.
The to remove from the collection.
Gets or sets the element at the specified index.
The zero-based index of the element to get or set.
Get the total number of files that are represented by the
filesets in this collection.
Enumerates the elements of a .
Initializes a new instance of the class
with the specified .
The collection that should be enumerated.
Advances the enumerator to the next element of the collection.
if the enumerator was successfully advanced
to the next element; if the enumerator has
passed the end of the collection.
Sets the enumerator to its initial position, which is before the
first element in the collection.
Gets the current element in the collection.
The current element in the collection.
A is a with extra
attributes useful in the context of the .
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.
Contains a collection of elements.
Initializes a new instance of the class.
Initializes a new instance of the class
with the specified instance.
Initializes a new instance of the class
with the specified array of instances.
Adds a to the end of the collection.
The to be added to the end of the collection.
The position into which the new element was inserted.
Adds the elements of a array to the end of the collection.
The array of elements to be added to the end of the collection.
Adds the elements of a to the end of the collection.
The to be added to the end of the collection.
Determines whether a is in the collection.
The to locate in the collection.
if is found in the
collection; otherwise, .
Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.
The zero-based index in at which copying begins.
Retrieves the index of a specified object in the collection.
The object for which the index is returned.
The index of the specified . If the is not currently a member of the collection, it returns -1.
Inserts a into the collection at the specified index.
The zero-based index at which should be inserted.
The to insert.
Returns an enumerator that can iterate through the collection.
A for the entire collection.
Removes a member from the collection.
The to remove from the collection.
Gets or sets the element at the specified index.
The zero-based index of the element to get or set.
Get the total number of files that are represented by the
filesets in this collection.
Enumerates the elements of a .
Initializes a new instance of the class
with the specified .
The collection that should be enumerated.
Advances the enumerator to the next element of the collection.
if the enumerator was successfully advanced
to the next element; if the enumerator has
passed the end of the collection.
Sets the enumerator to its initial position, which is before the
first element in the collection.
Gets the current element in the collection.
The current element in the collection.