[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Category generation from features

Hi Andrew,
Yes, I've seen that and I think it's a great way of controlling categories when you have more complexity. The stuff I rambled about on the call is intended as a more compact way of defining a site (using one project). I think it will be short lived and replaced in favor of the coming categories.xml that was mentioned.

Regards,
Thomas Hallgren

Andrew Niefer wrote:

Today in the p2 call, someone from buckminster (sorry, didn't catch who) mentioned that they generate categories from features using some properties in the build.properties file.

Unless I'm missing something, the only difference in the metadata between a feature group IU and a category is the property "org.eclipse.equinox.p2.type.category = true".

What this really means, is that with today's publisher, any feature can be used to generate a category simply be adding a p2.inf file with the following:
properties.1.name=org.eclipse.equiox.p2.type.category
properties.1.value=true

(see https://bugs.eclipse.org/bugs/show_bug.cgi?id=265217)

-Andrew

_______________________________________________ p2-dev mailing list p2-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/p2-dev