Add support to search bundles in the host by version range#2036
Add support to search bundles in the host by version range#2036laeubi wants to merge 1 commit intoeclipse-pde:masterfrom
Conversation
Currently PDE#findPluginInHost assumes that a bundle is unique by its id what is not true in all cases. This now do the following: - index the plugins by id but keep them in a list to support multiple - if more than one version is found return the highest - allow to query all models for an id
9560528 to
276b97e
Compare
Test Results 771 files ±0 771 suites ±0 1h 7m 43s ⏱️ - 2m 33s For more details on these failures, see this check. Results for commit 276b97e. ± Comparison against base commit 9851080. |
I have to admit that I fail to see what the advantage is of effectivly extracting this change from #2013, which is hopefully ready very soon? |
|
Closing in favor of I thing we should use some improvements here but this can be done later on. |
Currently PDE#findPluginInHost assumes that a bundle is unique by its id what is not true in all cases.
This now do the following:
This is in preparation of the new JUnit 6 support where the host will contain two bundles with same name but different version, but this can happen today as well e.g. different guava and whatever.