Jar currentJar = ((ProjectBuilder) builder).getLastRevision();
if (currentJar == null) {
currentJar = new Jar("."); //$NON-NLS-1$
}
DiffPluginImpl differ = new DiffPluginImpl();
String diffignore = builder.getProperty(Constants.DIFFIGNORE);
if (diffignore != null)
differ.setIgnore(diffignore);
Baseline baseline = new Baseline(builder, differ);
baseline.baseline(jar, currentJar, null);
return baseline;