|
How to use GZip/BZip2 task |
|
Description
Packs a file using the GZip or BZip2 algorithm.
The output file is only generated if it doesn't exist or the source
file is newer.
Parameters
| Attribute |
Description |
Required |
| src |
the file to gzip/bzip. |
Yes |
| destfile |
the destination file to create. |
Exactly one of the two. |
| zipfile |
the deprecated old name of destfile. |
Examples
<gzip src="test.tar" destfile="test.tar.gz"/>
<bzip2 src="test.tar" destfile="test.tar.bz2"/>
Source: Apache Ant
Related Tips
|
Page 1 of 0 ( 0 comments )
You can share your information about this topic using the form below!
Please do not post your questions with this form! Thanks.