Community
Participate
Working Groups
Now that the platform has support for importing tar and tar.gz files (see Bug #79711), the JDT should allow the user to attach tar or tar.gz files to external jars listed in Project Properties -> Java Build Path -> Libraries tab.
From what I've seen, various Open Source projects are using .tar.gz as a source archive format due to a long history with C. It's out there in the field, so maybe JDT should handle working with it.
Deferring post 3.1
wrong component
I thought that only the UI prevents this but it seems that this is also hard-coded on the JDT Core side. I guess it would be probably simple to add that support.
Seems reasonable depending on existing support for reading these.
With the fix for bug 182360, you can now put any file on the build path. However .tar.gz files cannot be opened using the ZipFile support from Java. We would need to either write a decoder or define an extension point so that a decoder can be provided by a third party. Anyway deferring post 3.4
> However .tar.gz files cannot be opened using the ZipFile support from Java. We > would need to either write a decoder or define an extension point so that a > decoder can be provided by a third party. No, rather than writing yet another decoder, you should take org.eclipse.ui.internal.wizards.datatransfer.TarFile from org.eclipse.ui.ide and make it API somewhere (e.g. o.e.core.filesystem or o.e.equinox.common)