C.94 UnzipTask

The UnzipTask unpacks one or more ZIP archives.

Table C.121: Attributes

NameTypeDescriptionDefaultRequired
fileStringArchive filenamen/aNo
todirStringDirectory to unpack the archive(s) tononeYes
forceExtractBooleanWhen 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.falseNo

C.94.1 Example

<unzip file="testzip.zip" todir="dest">
  <fileset dir=".">
    <include name="*.zip"/>
  </fileset>
</unzip>

C.94.2 Supported Nested Tags