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

Bug 321491

Summary: Add support for 'platformFilter'
Product: z_Archived Reporter: Henrik Lindberg <henrik.lindberg>
Component: b3Assignee: Project Inbox <b3.engine-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Henrik Lindberg CLA 2010-08-02 06:36:36 EDT
Units that describe Eclipse/OSGi artifacts need to have a field for platform filter.
Comment 1 Henrik Lindberg CLA 2010-08-02 14:21:04 EDT
fixed in rev 1240.

A unit now accepts the syntax:
platform-filter : "<p2ql match expression>" ;

The <p2ql match expression> is validated by the b3 editor as a match expression operation on an InstallableUnit.
Comment 2 Henrik Lindberg CLA 2010-08-02 14:54:23 EDT
The type for platformFilter should be IMatchExpression<IInstallableUnit> and not just IExpression.
Comment 3 Henrik Lindberg CLA 2010-08-02 15:10:12 EDT
Fixed in rev 1241