| Summary: | Create filters from Bundle-NativeCode osname & processor | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Oliver Vesper <oliver.vesper> | ||||
| Component: | Build | Assignee: | pde-build-inbox <pde-build-inbox> | ||||
| Status: | RESOLVED WONTFIX | QA Contact: | |||||
| Severity: | minor | ||||||
| Priority: | P3 | CC: | aniefer, jeffmcaffer, tjwatson | ||||
| Version: | 3.6 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Oliver Vesper
Created attachment 186896 [details]
NPE Stacktrace
For Bundle-NativeCode we currently only looking at the "selection-filter" attribute. We can fix the NPE and the build would complain that the bundle did not resolve if you weren't targeting that configuration. If you wanted to have the bundle included in a product and run build only for some other other configuration, things wouldn't work without an additional selection-filter or Eclipse-PlatformFilter. More generally, can we translate the processor & osname into a ldap filter against which we can compare the normal os/arch values from our config. (Are values here ever something like "Windows" or "i386"?) I'm not sure what to do about the os version. I'm fixing the NPE but keeping the bug open to see if we can handle osname & processor directly. Andrew, the resolver should handle the osname and processor attributes on native code for you as long as osgi.os=win32 and osgi.arch=x86_64 in the resolver state properties. We alias osgi.os and osgi.arch properties to the necessary osgi properties in the resolver to resolve the Bundle-NativeCode attributes. Currently we are not actively enhancing PDE build anymore. Therefore, I close this bug as WONTFIX. Please reopen, if you plan to provide a fix. |