5859606162636465666768
Tar tar = Tar.changeTo(targetDir) .add("eclipse") .bzip2() .toFile(file); if (!tar.success()) { List<Exception> exceptions = tar.getExceptions(); for (Exception exception : exceptions) { exception.printStackTrace(); } }