Skip to content

maybeec/oomph-task-unzip

Folders and files

NameName
Last commit message
Last commit date
Jun 1, 2016
Feb 20, 2021
Jun 15, 2016
Dec 7, 2016
Feb 20, 2021
May 31, 2016
Jun 1, 2016
Oct 14, 2016
Feb 20, 2021

Repository files navigation

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