Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354250 - If possible, derive target environment os/ws/arch from Eclipse-PlatformFilter
Summary: If possible, derive target environment os/ws/arch from Eclipse-PlatformFilter
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Tycho (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Igor Fedorenko CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-09 09:43 EDT by Igor Fedorenko CLA
Modified: 2021-04-28 16:55 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.