Re: Invoke MR-JAR file verifier on command line without actually packaging

2017-09-27 Thread Paul Sandoz
Hi Uwe, Unfortunately i don’t recall there being a publicly supported way to validate an existing Mr.Jar (except by recreating it), either by the jar tool itself nor by a programatic API. In a more general sense the problem is one of given two jars validate that the class file bytes in each ex

Invoke MR-JAR file verifier on command line without actually packaging

2017-09-27 Thread Uwe Schindler
Hi, I am building a multi-release JAR file using Apache Ant (for Lucene, see https://issues.apache.org/jira/browse/LUCENE-7966). As build tools like Ant/Gradle/Maven are packaging JAR files on their own, not using the official JAR tool, I wanted to do a quick check if the resulting JAR file is