|[equinox-dev] How to recognize Categories, Features, Bundles and Products?|
I have difficulties with IU analysis. I wonder what determines the type of an IU.
Basically we can analyze following properties:
1) does ID end with ".feature.group" or not?
2) is "org.eclipse.equinox.p2.type.category" set to true?
3) is "org.eclipse.equinox.p2.type.group" set to true?
My guess is that this we could use following algorithm:
You may have noticed that I also used two category variants - normal and nested. This is an attempt to handle cases such as http://download.eclipse.org/releases/galileo | General Purpose Tools | PDE/API Tools Environment Descriptions.
The algorithm looks fairly complicated. Is there any standard method for this in p2 code? If not, is my suggestion correct?
Filip Hrbek | filip.hrbek@xxxxxxxxxxxxxx | +420.777.662642 | skype: filip.hrbek
CLOUDSMITH | Czech Republic