Improvements to VersionRange and ManifestHeaderProcessor
--------------------------------------------------------
Key: ARIES-191
URL: https://issues.apache.org/jira/browse/ARIES-191
Project: Aries
Issue Type: Improvement
Components: Application
Reporter: Holly Cummins
It would be useful to have a method on VersionRange which produces the
intersection between itself and another VersionRange. The patch includes this
method, updates to how equals() and hashCode() work to support this function,
and new unit tests for the intersect() method.
The ManifestHeaderProcessor should handle the objectClass attribute as a
special case when generating filters. It should produce a filter element for
each interface in the comma-separated list of interfaces.
It would also be convenient to be able to pass through nested verbatim filter
text to the filter generation code. This is done in the attached patch using a
org.apache.aries.application.filter.attribute attribute. The
ManifestHeaderProcessor checks for this attribute and inserts the value into
the generated filter string verbatim.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.