@Override
protected void execute0(KdoEclipseMirrorOptions options) {
Directory targetDir = dirs.eclipseVar();
File file = options.getTargetFile(targetDir);
Tar tar = Tar.changeTo(targetDir)
.add("eclipse")
.bzip2()
.toFile(file);
if (!tar.success()) {
List<Exception> exceptions = tar.getExceptions();
for (Exception exception : exceptions) {
exception.printStackTrace();
}
}
}