Community
Participate
Working Groups
Created attachment 186566 [details] patch to add the features in i0104 if you have a target with IUBundleContainers (software sites), the features included by the features added from the site do not show up in the PDE model. As a result, they are not available for addition to products and other features. After some discussion with Curtis, we decided to have IUBunldeContainer.getFeatures return all features in the underlying profile. This means that multipe IU containers will return duplicate features. TargetDefinition.getAllFeatures was updated to remove duplicates (likely a good change anyway) to compensate. The alternative to this would be to run the slicer for each container and slice the profile with the container's roots. This is certainly doable but is likely reasonably expensive. I'm attaching a patch that addresses the problem. Would be great to get this in for M5 as the problem is somewhat major for folks using features.
Fixed in HEAD. Only change was to add back the return if no feature IUs were found. Was there a specific reason this was eliminated? The result should be the same, but exiting early saves looking through all known feature models and creating NameVersionDescriptor objects for all of them. Thanks for the contribution.
I don't recall removing the return on purpose. Thanks for catching that. usually I try to change as little as possible.
Verified in I20110126-0800
*** Bug 337187 has been marked as a duplicate of this bug. ***