How to bind a feature to a specific Eclipse package/version [message #1764110] |
Wed, 24 May 2017 21:25  |
Eclipse User |
|
|
|
I am trying to understand how to create a p2 composite repository to let many Eclipse "package" (Luna, Mars, Neon) and their associated release (r, sr1, sr2) to be updated with a new feature. Let call this new feature AddOnFeature. Each Eclipse package/version released has its own AddOnFeature feature tagged with an incremental version qualifier. My understanding after reading the p2 documentation is that the AddOnFeature should has a dependency with an Eclipse feature already installed with some versioning to match. This will let the P2 manager matches the AddOnFeature feature to be installed with it corresponding Eclipse "package/version" selected among the composite p2 repository.
To help the discussion let say the AddOnFeature install a new menu that display the Eclipse package/version with a message like: "Hello Eclipse Mars sr1" and that this message must be hardcoded (not to be discovered programmatically).
Now my question is what Eclipse feature dependency should I bind (or associate) to the AddOnFeature to have the p2 manager chose the appropriate p2 repository within the composite directory to have the appropriate AddOnFeature installed.
Thanks
GB
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04428 seconds