Search in sources :

Example 1 with TarGzArchiver

use of org.eclipse.tycho.plugins.tar.TarGzArchiver in project tycho by eclipse.

the class ProductArchiverMojo method createCommonsCompressTarGz.

private void createCommonsCompressTarGz(File productArchive, File sourceDir) throws IOException {
    TarGzArchiver archiver = new TarGzArchiver();
    archiver.setLog(getLog());
    archiver.addDirectory(sourceDir);
    archiver.setDestFile(productArchive);
    archiver.createArchive();
}
Also used : TarGzArchiver(org.eclipse.tycho.plugins.tar.TarGzArchiver)

Aggregations

TarGzArchiver (org.eclipse.tycho.plugins.tar.TarGzArchiver)1