If I understand correctly, you want to remove packages from the default
value as well as add. Unfortunately, there is no
"org.osgi.framework.system.packages.remove" property. In this case you
just need to set the org.osgi.framework.system.packages property
completely, like you did prior to 1.4. Just copy the property setup from
a pre-1.4.0 config.properties file and use that and it should be just
like it was before.
-> richard
Jaap Vriend wrote:
Hi,
In pre-1.4.0 releases, it was possible to indicate (per jre) which packages
to export, e.g.:
jre-1.5=, \
javax.accessibility; \
javax.activity; \
[...]
org.xml.sax.ext; \
org.xml.sax.helpers; \
version="1.5.0"
In a project I'm working on, the default set needs to be extended with 3
specific packages, which is easily done through:
# To append packages to the default set of exported system packages,
# set this value.
org.osgi.framework.system.packages.extra= \
sun.rmi.server; \
sun.rmi.transport; \
sun.rmi.registry;
In this project, however, there were also 2 specific packages
('javax.transaction' and 'javax.transaction.xa') that were removed.
Is it required to copy / paste the complete package list to
'org.osgi.framework.system.packages' without those 2 or is there an option
similar to the one above for 'eliminating from the default set'?
The latter would have my preference, especially if the 'reasonable default'
package list could change between felix versions.
Kind regards,
Jaap Vriend
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]