[ 
https://issues.apache.org/jira/browse/FELIX-5089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Balazs Zsoldos updated FELIX-5089:
----------------------------------
    Description: 
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}

  was:
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}


> [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)

Reply via email to