Community
Participate
Working Groups
Support for tar archives will be added in order to get rid of the dependency of the core to the ice package.
*** Bug 178539 has been marked as a duplicate of this bug. ***
Moving to M4 - while it is not top priority it is important to remove this external dependency from the core. I'm taking over...
Here the patch i wrote adding a eu.geclipse.core.util.tar package, implemented from scratch based on the tar-format documentation. The implementation is minimal in the sense that only the functionality we require is implemented (untar'ing standard tar files). I guess later we will need to add support for creating tar files for grid-deployment tasks. The patch has been tested to work with the CA certificates. Test package will follow.
Created attachment 67278 [details] Tar package patch I just noticed that you will get a conflict on the core Solutions class, because i externalized a couple of solution messages which Mathias added.
A side comment: the com.ice.tar source code is completely free, public domain ;-) so we could have kept it and integrated it.
Created attachment 67904 [details] Small additional patch to apply after the first one This small patch adds support for tar files created by some client (non-gnu?) where octal values in the header are not left padded with 0's.
Created attachment 67905 [details] Test class for the TarEntry class This patch adds a TarEntry_PDETest test class. It is a PDE test because it requires the Exception functionality provided by GridException. This is needed to be able to fully test that the class works correctly (see testTarEntry_invalidHeaders(), where the TarEntry constructor is expected to thow an exception if the test will succeed). Suggestions on how to make this a plain (non-pde) test are welcome.
NOTE: the test Class patch has the wrong package name: utils -> should be util. Sorry!
not yet integrated - moving to RC0
Patches are integrated, dependency to the tar plugin has been removed.
already fixed...
Closing this one
Now really closing this one.
Comment on attachment 67904 [details] Small additional patch to apply after the first one Applied by Markus