You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Guofeng Zhang <gu...@radvision.com> on 2012/02/14 03:36:49 UTC

org.osgi.framework.system.packages.extra seems not works

Hi,

I use Karaf 3.0.0-SNAPSHOT.

I added a package into system package as the following:
org.osgi.framework.system.packages.extra=my.package;version=1.0.0
this package is not displayed on the exported package list of bundle 0 (system bundle), and my bundle cannot resolve its import.

I tried to see if it is  a Felix issue, so add the above line into config.properties of Felix 4.0.2. It is listed in the system bundle's exported-parckage list.

Is it an issue of Karaf 3.0.0 SNAPSHOT?

Thanks

Guofeng


RE: org.osgi.framework.system.packages.extra seems not works

Posted by Guofeng Zhang <gu...@radvision.com>.
Found the reason. It is overridden by custom.proeprties.

From: Guofeng Zhang
Sent: Tuesday, February 14, 2012 10:37 AM
To: Karaf-user
Subject: org.osgi.framework.system.packages.extra seems not works

Hi,

I use Karaf 3.0.0-SNAPSHOT.

I added a package into system package as the following:
org.osgi.framework.system.packages.extra=my.package;version=1.0.0
this package is not displayed on the exported package list of bundle 0 (system bundle), and my bundle cannot resolve its import.

I tried to see if it is  a Felix issue, so add the above line into config.properties of Felix 4.0.2. It is listed in the system bundle's exported-parckage list.

Is it an issue of Karaf 3.0.0 SNAPSHOT?

Thanks

Guofeng