|Is os.version>=10.7 legal in osgi platform filter? (repost) [message #772278]
||Thu, 29 December 2011 07:05
Registered: July 2009
(Sorry for cross-posting but no replies on the Platform forum, so it's worth a shot here...)|
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 as follows:
This certainly seems to work when launching on different platforms and OS versions. However, in the Launch configuration setup dialog when I click "Validate Plug-ins" on the "Plug-ins" tab there is a reported error:
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". And yet in practice this works.
Is this the correct way to specify a minimum OS version for a filter?
Thanks in advance.
Powered by FUDForum
. Page generated in 0.01921 seconds