Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 354250

Summary: If possible, derive target environment os/ws/arch from Eclipse-PlatformFilter
Product: z_Archived Reporter: Igor Fedorenko <igor>
Component: TychoAssignee: Igor Fedorenko <igor>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Igor Fedorenko CLA 2011-08-09 09:43:15 EDT
When building native fragments, it is often possible to derive target environment os/ws/arch properties from Eclipse-PlatformFilter value. For example,

Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=x86))

Do note, that platform filter is platform filter uses LDAP search filters syntax and in some cases in may not be possible to unambiguously derive os/ws/arch properties, so the implementation should handle this case gracefully.