Bug 33897 [Import/Export] Export to .tar.gz or .tar.bz2
Right click a Java project. Choose "Export...". A window opens where you can choose between different export targets. There is no ".tar.gz" target or ".tar.bz2". I would like to have either one (or both). If I must choose one, I prefer ".tar.bz2", but I don't really have a strong opinion about it; ".tar.gz" would be fine as well. The reason I somewhat prefer bzip2 is that bzip2 makes files noticably smaller than gzip, and my impression is that gzip is slowly being outcompeted. A Linux-GTK implementation would be good enough for me, but it is possible that "Unix All" would be a better platform as other Unix users could probably be interested in this as well.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/ZipFileExportOperation.java
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.MultiStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.jface.operation.IRunnableWithProgress;
import org.eclipse.jface.operation.ModalContext;
import org.eclipse.ui.internal.ide.IDEWorkbenchPlugin;
/**
 *	Operation for exporting a resource and its children to a new .zip file
 */
public class ZipFileExportOperation implements IRunnableWithProgress {
    private ZipFileExporter exporter;
    private String destinationFilename;
    private IProgressMonitor monitor;
    private List resourcesToExport;
    private IResource resource;
    private List errorTable = new ArrayList(1); 
    private boolean useCompression = true;
    private boolean createLeadupStructure = true;
    private boolean generateManifestFile = false;
    /**
     *	Create an instance of this class.  Use this constructor if you wish to
     *	export specific resources without a common parent resource
     *
     *	@param resources java.util.Vector
     *	@param filename java.lang.String
     */
    public ZipFileExportOperation(List resources, String filename) {
        super();
        
        Iterator elementsEnum = resources.iterator();