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

Bug 367649

Summary: Incorrect warning in Plug-in validation in Launch Configuration Dialog
Product: [Eclipse Project] PDE Reporter: <h1055071>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: tjwatson
Version: 3.7.1   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard: stalebug

Description CLA 2011-12-30 05:33:02 EST
I have a plug-in fragment that should only run on Mac OS X Lion version 10.7 or greater.

I have set the platform filter in the manifest for the fragment as follows:

Eclipse-PlatformFilter: (&(osgi.ws=cocoa)(os.version>=10.7))

This is a valid filter and works as expected.

However, the Launch (Debug) Configuration dialog within Eclipse reports an error when I click "Validate Plug-ins" on the "Plug-ins" tab of the dialog:

"The following problems were detected:
Platform filter did not match: (&(osgi.ws=cocoa)(os.version>=10.7))"

I am running it on a Mac with the correct version. The offending part seems to be "os.version>=10.7". I think this is an incorrect error message.


Simple steps to reproduce:

1. Add the argument (os.version>=10.7)) to the Platform filter of any Plug-in or Fragment manifest in the Eclipse IDE.
2. Create a Run/Debug Configuration in Eclipse that includes that plug-in on the "Plug-ins" tab of the Configuration dialog.
3. Press "the Validate Plug-ins" button on the "Plug-ins" tab of the dialog.
Comment 1 Eclipse Genie CLA 2018-11-09 05:23:52 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.

--
The automated Eclipse Genie.
Comment 2 Lars Vogel CLA 2019-09-02 15:04:10 EDT
This bug has been marked as stalebug a while ago without any further interaction.

If this report is still relevant for the current release, please reopen and remove the stalebug whiteboard flag.
Comment 3 Lars Vogel CLA 2019-09-02 15:09:46 EDT
This bug was marked as stalebug a while ago. Marking as worksforme.

If this report is still relevant for the current release, please reopen and remove the stalebug whiteboard tag.