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

Bug 343952

Summary: [publisher] set applicability filter using p2.inf
Product: [Eclipse Project] Equinox Reporter: Jeff McAffer <jeffmcaffer>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: irbull, pascal
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard: stalebug

Description Jeff McAffer CLA 2011-04-27 09:17:52 EDT
p2.inf has mechanisms for setting most things on an IU but not the applicability filter.  You can set the filter on a completely new IU but not for the "current" IU.

This can be worked around by publishing a new dummyIU that has the filter and then depending on that but its a hack and requires duplicate IUs for each platform you want to support.
Comment 1 Ian Bull CLA 2012-06-29 11:59:54 EDT
Great idea Jeff.  Patches welcome :-)
Comment 2 Lars Vogel CLA 2019-11-27 07:26:54 EST
This bug hasn't had any activity in quite some time. Maybe the problem got
resolved, was a duplicate of something else, or became less pressing for some
reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it.
The information can be, for example, that the problem still occurs, that you
still want the feature, that more information is needed, or that the bug is
(for whatever reason) no longer relevant.

If the bug is still relevant, please remove the stalebug whiteboard tag.