Community
Participate
Working Groups
In bug 368829 code was released to convert Bundle-RequiredExecutionEnvironment (bree) headers to generic requirements in the osgi.ee namespace. This is causing issues in some pde-build tests. In order to resolve the generic requirements in the osgi.ee namespace we need capabilities representing the execution environments. These get added to the system bundle in the resolver State. In some of the pde-build tests there is no system bundle (org.eclipse.osgi) added to the state so we have no bundle to attach these osgi.ee capabilities to and therefore the requirements on osgi.ee namespace failes. They fail with a strange error also: Bundle org.eclipse.equinox.launcher_1.3.0.N20120118-2000 failed to resolve.: Host plug-in OSGi/Minimum_0.0.0 has not been found. I'm not sure why it is saying a Host plug-in could not be found. Not sure if this message is coming from the framework resolver or from pde-build, but we should fix that also.
The bogus error message is probably coming from PDE/Build BuildTimeSite#getResolutionFailureMessage, this method does not recognize GenericSpecification
I released a fix in commit: http://git.eclipse.org/c/equinox/rt.equinox.framework.git/commit/?id=3de265620d8c370f7ca9470536e3a03f4414af19 The fix was to set the resolution type of the requirement to indicate that it was created from a Bundle-RequiredExecutionEnvironment (BREE) and if such a generic requirement cannot be resolved then don't fail resolution.