* @throws Exception
* On failure
*/
public static boolean jarsDiffer(File first, File second) throws Exception {
Differ di = new DiffPluginImpl();
Tree n = di.tree(new Jar(second));
Tree o = di.tree(new Jar(first));
Diff diff = n.diff(o);
for (Diff child : diff.getChildren()) {
for (Diff childc : child.getChildren()) {
if (childc.getDelta() == Delta.UNCHANGED || childc.getDelta() == Delta.IGNORED) {