commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Sicker <boa...@gmail.com>
Subject Re: [compress] High Level API for Archives
Date Wed, 02 May 2018 15:49:31 GMT
On 2 May 2018 at 08:41, Stefan Bodewig <bodewig@apache.org> wrote:

> It's a bit more complex than that. A hypothetical commons-sevenz would
> stil have an optional dependency on commons-lzma which then has a real
> depedendency on XZ for Java. The 7z code doesn't need XZ for Java if the
> archive you want to read only contains deflated entries. I don't think
> you'd want to split the sevenz module into one that requires lzma and
> one that doesn't.
>

This sounds like a neat use of optional dependencies. However, this also
raises a nice boundary: archives and codecs. The archives depend on codec
implementations, not the other way around.


-- 
Matt Sicker <boards@gmail.com>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message