Bug 12518 - Gunzip & BUnZip2 add filesets, patternsets, and overwrite attribute.
Summary: Gunzip & BUnZip2 add filesets, patternsets, and overwrite attribute.
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.7.0
Hardware: All All
: P3 enhancement with 3 votes (vote)
Target Milestone: ---
Assignee: Ant Notifications List
Depends on:
Reported: 2002-09-11 10:47 UTC by Matthew Rawlings
Modified: 2008-11-24 03:57 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Rawlings 2002-09-11 10:47:18 UTC
Enhance the gunzip task and the BUnzip2 task to support filesets, patternsets, 
and the overwrite attribute.

Ideally the additional features would be consistent with the Unzip task. With 
the same attributes and elements with the same rules applied across UnZip, 
GunZip and BUnZip2. 

Possibly all three tasks could be merged into one task with an attribute for 
which type of unzip to apply, to otherwise default according to the file 

An example would be:

<gunzip dest="${tools.home}" overwrite="true">
        <include name="**/*.java"/>
        <exclude name="**/Test*.java"/>
    <fileset dir=".">
        <include name="**/*.gz"/>
        <exclude name="**/tmp*.gz"/>