Community
Participate
Working Groups
When using the new p2.gathering to build repositories, generated categories are not getting mirrored out of the build private repo into the final destination.
Fixed. This adds 2 new attributes to the <iu> element nested in the mirror task: "query" and "required". <p2.mirror ...> <iu query="property[@name='propertyName' and @value='propertyValue']" /> </p2.mirror> The format of the query attribute is intended to be "xpath-like". Currently only properties are supported, but this may be expanded in the future. In this particular case, we are mirroring with: <iu query="property[@name='org.eclipse.equinox.p2.type.category']" required="false" /> Which will mirror all IUs which have the "org.eclipse.equinox.p2.type.category" property and won't cause a failure if no such IUs are found.