The UnzipTask
unpacks one or more ZIP archives.
Table C.121: Attributes
Name | Type | Description | Default | Required |
---|---|---|---|---|
file | String | Archive filename | n/a | No |
todir | String | Directory to unpack the archive(s) to | none | Yes |
forceExtract | Boolean | When set to false, only extract files if the destination does not exist yet or is older than the archive. When set to true, always extract files. | false | No |
<unzip file="testzip.zip" todir="dest"> <fileset dir="."> <include name="*.zip"/> </fileset> </unzip>