Community
Participate
Working Groups
The equinox.p2.user.ui feature was reorganized a while ago in bug 333810. Since then, the nested features in the org.eclipse.equinox.p2.user.ui feature are not generating source features. I ran a several test builds yesterday to try to solve this problem but to no avail. I also noticed that the way that this feature is organized is rather strange p2.user.ui feature includes p2.core, p2.extras and p2.rcp features but p2.extras and p2.rcp both include the p2.core feature as a nested feature The reason that this is causing a problem is that the p2 source bundles are being generated but not included in the SDK feature. Thus code coverage reports fail because the p2.source bundles aren't included in the the SDK. We need the source bundles to run the tool. Please fix the p2.user.ui feature so that the p2.core, p2.extras and p2.rcp source features are generated.
*** Bug 343711 has been marked as a duplicate of this bug. ***
We talked about it during p2 call. DJ will seek guidance on how to solve this.
Andrew, do you have hints on what the feature structure needs to look like?
Created attachment 194094 [details] patch - source feature wisdom of Andrew
Kim, this patch doesn't cleanly apply in my workspace (platform-feature). Also I will find out for sure when I try and commit it, but I'm not sure if we have commit rights to the platform feature.
DJ, I have already applied the patch and ran a test build which failed. Trying to figure out why it is failing. As an aside, whoever is tagging for p2 tonight, please don't tag these p2 features. I may have to revert...
As an aside, here is the test build with the problem http://eclipsebuildserv.ottawa.ibm.com/downloads/bogus/downloads/drops/N20110426-1532/index.php
Created attachment 194155 [details] patch
Tagged for i-build.
Verified that p2* source features are generated properly in I20110427-1300.