/oomph-task-unzip

Oomph Task for unzipping archives

Primary LanguageJavaEclipse Public License 1.0EPL-1.0

Oomph Unzip Setup Task

Purpose

The oomph-unzip-task is an extension for the Eclipse Oomph Installer that allows to unarchive resources during the setup. The unzipTask uses the apache-commons-compress library to unarchive the resources.

Despite it’s name the oomph-unizp-task handles a wide range of archives besides .zip (e.g. .tar.gz)

Usage

Warning

Relase v2.0.0 is now public. For development of oomph product or project setup files in eclipse install the plugin from https://maybeec.github.io/oomph-task-unzip/update

  • Now you can add the following snippet to your Setup file

    <setupTask
        xsi:type="com.github.maybeec.oomph.task:unzip"
    	<!-- ... -->
        zipFile="your/path/arch.ive"
    	destinationDir="your/tempFolder"
    	priority="500"
    />
  • zipFile specifies the archive file you want to be unarchived. This file must not be encrypted. We support a wide range of archive types (namely most of the apache-commons-compress supported extensions).

  • destinationDir specifies the folder the data should be stored in. The safest is to specify a full path