Community
Participate
Working Groups
In bug 270627, I'm trying to change the comparator so that it runs without skipErrors. I can't do that today because the some of the doc bundles are updated with javadoc and thus may be different each time but the qualifier will remain the same. I was going to update the qualifier of the doc bundles each build but Andrew suggested that it would be better if the comparator were changed so that there was an option to exclude certain bundles. The doc bundles are very large and shouldn't be downloaded each time for little benefit.
It looks like this: <p2.mirror source="file:repo1" destination="file:repo2"> <comparator comparator="org.eclipse.equinox.p2.repository.tools.jar.comparator" repository="file:repoBaseline" > <exclude> <artifact id="foo" version="1.0.0" /> <artifact classifier="osgi.bundle" range="[1.0.0,5.0.0)"> <property name="format" value="packed" /> </artifact> </exclude> </comparator </p2.mirror> on <artifact> there is "id", "classifier", "version", or "range". version="1.0.0" is equivalent to range="[1.0.0,1.0.0]". <artifact> also supports nested <property> elements. Excluded artifacts are excluded only from the comparison, they are still mirrored as before.