I should have clarified in a Require-Capability header filter syntax.

- Ray


On Fri, Jan 16, 2015 at 8:31 PM, BJ Hargrave <[email protected]> wrote:

> new VersionRange("[1.0,2.0)").toFilterString()
> --
>
>  *BJ Hargrave*
> Senior Technical Staff Member, IBM
> OSGi Fellow and CTO of the *OSGi Alliance* <http://www.osgi.org/>
> *[email protected]* <[email protected]>
>
> office: +1 386 848 1781
> mobile: +1 386 848 3788
>
>
>
>
>
> From:        Raymond Auge <[email protected]>
> To:        OSGi Developer Mail List <[email protected]>
> Date:        2015/01/16 20:16
> Subject:        [osgi-dev] filter syntax for version range with exclusive
> upper        bound
> Sent by:        [email protected]
> ------------------------------
>
>
>
> Is this the best way to express this:
>
> (&(version>=1.0)(version<=2.0)(!(version=2.0)))
>
>
> There does not appear to be a only a < in the filter syntax.
>
> --
> *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
> [email protected]
> https://mail.osgi.org/mailman/listinfo/osgi-dev
>
>
> _______________________________________________
> OSGi Developer Mail List
> [email protected]
> https://mail.osgi.org/mailman/listinfo/osgi-dev
>



-- 
*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
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to