Christian Schneider created FELIX-4227:
------------------------------------------

             Summary: There should be a way to remove packages from the system 
package exports without redefining all exports
                 Key: FELIX-4227
                 URL: https://issues.apache.org/jira/browse/FELIX-4227
             Project: Felix
          Issue Type: New Feature
          Components: Framework
    Affects Versions: framework-4.2.1
            Reporter: Christian Schneider
             Fix For: framework-4.4.0


Currently you define the system package exports using:
org.osgi.framework.system.packages: allows to completely redefine the packages
org.osgi.framework.system.packages.extra: allows to add packages to the system 
package exports

I am missing a way to mostly keep the exports as is but remove some package and 
add some others.
So some property like "org.osgi.framework.system.packages.remove" would be nice.

A typical scenario is cxf that wants to replace some JRE API and IMPLs with 
their own jars.

Currently this can only be solved by replacing all exports. To do this 
correctly the exports even have to be different for each jdk version. So it is 
a lot of effort.

The requested feature would be most useful if it is a OSGi standard property so 
it works on all frameworks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to