You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Balazs Zsoldos (JIRA)" <ji...@apache.org> on 2015/10/28 09:27:27 UTC

[jira] [Created] (FELIX-5089) [framework] Allow adding all osgi.core packages to system.packages property with expression

Balazs Zsoldos created FELIX-5089:
-------------------------------------

             Summary: [framework] Allow adding all osgi.core packages to system.packages property with expression
                 Key: FELIX-5089
                 URL: https://issues.apache.org/jira/browse/FELIX-5089
             Project: Felix
          Issue Type: Wish
          Components: Framework
            Reporter: Balazs Zsoldos


See Richard's suggestion how the use-case could be solved: http://www.mail-archive.com/users%40felix.apache.org/msg16828.html

{quote}
I think it is reasonable to allow someone to hide exports from the system bundle, but that doesn't mean that this process couldn't be improved. For example, we could introduce a new variable ${framework-exports} as an alias to what the framework exports, so then in our default properties file the system.packages could be written something like this:

org.osgi.framework.system.packages= ${dollar}{framework-exports} \
 ${dollar}{jre-${dollar}{java.specification.version}}

Thus making it easier for people who want to override system.packages by using our alias.

Of course, though, if you just want to add stuff to system packages, then you should be using system.packages.extra like others have suggested.
{quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)