It’s still pretty ugly, and it would only be slightly better if we could write (&(version>=1)(version<2))… but of course we can’t because there is no less-than or greater-than operator.
I do wish OSGi could come up with a less error-prone and more readable filter syntax. It would help adoption, I believe. Not that I have any constructive suggestions for what that syntax might look like, unfortunately. Neil > On 17 Jan 2015, at 01:38, Raymond Auge <raymond.a...@liferay.com> wrote: > > > On Fri, Jan 16, 2015 at 8:36 PM, Neil Bartlett <njbartl...@gmail.com > <mailto:njbartl...@gmail.com>> wrote: > (version>=1.0)(!(version>=2.0)) > > Right... that's better! > > Thx > > > -- > Raymond Augé <http://www.liferay.com/web/raymond.auge/profile> (@rotty3000) > Senior Software Architect Liferay, Inc. <http://www.liferay.com/> (@Liferay) > Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org/> (@OSGiAlliance) > _______________________________________________ > OSGi Developer Mail List > osgi-dev@mail.osgi.org > https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev