On 2014-12-16, Kristian Rosenvold wrote: > At least for maven's code, introducing the concept of a "root" stream > that will be the start of the physical zip stream can simplify things > quite a lot.
Yes, I can see the same for "my" compress antlib (Ant tasks based on Commons Compress) as well. It will be interesting to see whether the changes you need to make for the zip package would also apply to the other archivers we support writing for. The assembly plugin would benefit from similar changes to the tar package. Coming to think of it again, cpio and tar don't have any concept of a central directory so a scatter/gather approach may even work OOTB. ar has this "long file name" thing that would need to be taken care of and 7z is pretty similar to zip, just a whole lot more complex :-) Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org