| Summary: | Targetplatfrom materializer doesn't materialize platform specific bundles | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Markus Kuppe <bugs.eclipse.org> | ||||||||||
| Component: | Buckminster | Assignee: | buckminster.core-inbox <buckminster.core-inbox> | ||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||
| Severity: | normal | ||||||||||||
| Priority: | P3 | CC: | thomas | ||||||||||
| Version: | unspecified | ||||||||||||
| Target Milestone: | --- | ||||||||||||
| Hardware: | All | ||||||||||||
| OS: | All | ||||||||||||
| Whiteboard: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Markus Kuppe
Created attachment 122394 [details]
patch p1
A first (rough) take on this issue.
@Thomas what's the best way to get the list of excluded/skipped bundles (set e.g. in the CQUERY) from the materialization context in org.eclipse.buckminster.core.materializer.PlatformIgnoringFeature.getPluginEntries()?
Created attachment 122395 [details]
mylyn/context/zip
A few implementation details... For a minute I favored to move org.eclipse.buckminster.core.materializer.TargetPlatformMaterializer.convertFeature(IFeature, MaterializationContext) into an adapter factory. But then the context would require a setter on PlatformIgnoringFeature. PlatformIgnoringFeature might be better named PlatformIndependetFeature. Patch applied. Thanks. Thomas, you're with the hard coded stuff in org.eclipse.buckminster.core.materializer.PlatformIgnoringFeature.getPluginEntries()? (In reply to comment #5) > Thomas, you're with the hard coded stuff in > org.eclipse.buckminster.core.materializer.PlatformIgnoringFeature.getPluginEntries()? > Yes. I cannot see any harm with it at this point. The problem will eventually go away anyway since the whole matter of installing features will be replaced by P2. Created attachment 122801 [details]
patch p2
Here's a revised/much cleaner implementation that uses an AdapterFactory in TargeTPlatformMaterialization.
Created attachment 122802 [details]
mylyn/context/zip
|