Community
Participate
Working Groups
In bug 346979 we needed to generate a filter from a set of arbitrary attributes. It became evident that we need some kind of filter builder to make such code more simple. Some other things to note: - VersionRange is not completely correct with respect to open ranges (i.e. >=1.0). It uses max.max.max as the absolute maximum version, but max.max.max.qualifier > max.max.max. - VersionRange could add a method to get a filter string that represents the range
Move all 3.8 bugs to Juno.
There is a proposal in OSGi to add a VersionRange class to the org.osgi.framework package. This VersionRange class may contain a toFilterString() method. If this happens then we can consider using that method to generate the filter string. We will also consider making the Equinox VersionRange extend the osgi VersionRange.
This is no longer valid. The OSGi VersionRange class now provides the method we need to create a filter for version ranges.