Community
Participate
Working Groups
Created attachment 89690 [details] content.xml The goal is to have platform specific IUs & fragments all providing the same capability. Requiring the capability gets those IUS & fragments whose platform filter is satisfied. I have a main product IU "mrcp.product" that requires a capability mrcp.product.launcher. I have the following IUs/CUs, which all provide that capability and all have appropriate platform filters. IU: mrcp.product.launcher.win32.win32.x86 IU: mrcp.product.launcher.gtk.linux.x86 CU: toolingmrcp.product.launcher.win32.win32.x86 CU: toolingmrcp.product.launcher.gtk.linux.x86 The "tooling" CUs are fragments of the corresponding IUs. Trying to install the mrcp.product results in the error Problems occurred while installing. Unsatisfied dependency: [toolingmrcp.product.launcher.gtk.linux.x86 1.0.0] requiredCapability: org.eclipse.equinox.p2.iunamespace/mrcp.product.launcher.gtk.linux.x86/[1.0.0,1.0.0] It appears the "toolingmrcp.product.launcher.gtk.linux.x86" fragment is being included in the install despite its filter and it is trying to pull in its host which it requires.
Note that the installation succeeded when the IUs provided the capability and the CU fragments did not. (Although the CU fragments weren't included in the installed result).
Andrew, do you have a way around this problem until we put the new resolver in?
The workaround is to not have the fragments specify the product capability and to have the product IU list the fragments directly.
Problem fixed in HEAD. Please verify as I have done other changes.
closed the wrong bug. This has not been verified.
.