You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Stefan Bodewig <bo...@apache.org> on 2014/03/01 07:48:27 UTC

Re: [compress] problems with 7z BCJ methods

On 2014-02-28, sebb wrote:

> On 28 February 2014 17:47, Stefan Bodewig <bo...@apache.org> wrote:
>> On 2014-02-28, sebb wrote:

>>> Alternatively, can Compress detect the XZ version and refuse to run
>>> BCJ, again with suitable message?

>> No way short of parsing the OSGi attributes from the manifest.

> The following seems to work for me in Eclipse at least:

> String version = XZ.class.getPackage().getImplementationVersion();

Oh, right, overlooked that.

Thanks!

        Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org