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/ZipFileExporter.java
}
    /**
     *  Create a new entry in the manifest file being constructed.
     *
     *  @param pathname java.lang.String
     *  @param file org.eclipse.core.resources.IFile
     *  @exception java.io.IOException
     *  @exception org.eclipse.core.runtime.CoreException
     */
    protected void appendToManifest(String pathname, IFile file)
            throws IOException, CoreException {
        StringBuffer manifestEntry = new StringBuffer();
        manifestEntry.append(nameLabel);
        manifestEntry.append(pathname);
        manifestEntry.append(newline);
        manifestEntry.append(digestsLabel);
        manifestEntry.append(shaLabel);
        byte[] fileContents = null;
        
        InputStream contentStream = file.getContents(false);
        Reader in = new InputStreamReader(contentStream);
        int chunkSize = contentStream.available();
        StringBuffer buffer = new StringBuffer(chunkSize);
        char[] readBuffer = new char[chunkSize];
        int n = in.read(readBuffer);
        while (n > 0) {
            buffer.append(readBuffer);
            n = in.read(readBuffer);
        }
        contentStream.close();