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.
Attribute | Description | Required |
src | the file to gzip/bzip. | Yes |
zipfile | the destination file. | Yes |
<gzip src="test.tar" zipfile="test.tar.gz" />
<bzip2 src="test.tar" zipfile="test.tar.bz2" />
Copyright © 2001-2002 Apache Software Foundation. All rights Reserved.