karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Bundle startup
Date Wed, 04 May 2016 06:00:29 GMT
UserAdmin reference is optional ?

Regards
JB

On 05/04/2016 07:52 AM, David Leangen wrote:
> Hi Christian,
>
> Here is an edited excerpt of the generated manifest:
>
> Export-Package:
> 	mypackage.oauth2;version="0.2.0”,
> 	org.osgi.service.useradmin;version="1.1";uses:="org.osgi.framework"
>
> Import-Package:
> 	javax.net,javax.net.ssl,javax.security.auth.x500,
> 	mypackage.oauth2;
> 	version="[0.2,0.3)",org.osgi.framework;version="[1.8,2)”,
> 	org.osgi.service.component;version="[1.3,2)”,
> 	org.osgi.service.useradmin;version="[1.1,1.2)"
>
>
> By the way, adding the exclusionary filter to the UserAdmin reference did not seem to
rectify the problem. :-(
>
>
> Cheers,
> =David
>
>
>> On May 4, 2016, at 2:43 PM, Christian Schneider <chris@die-schneider.net> wrote:
>>
>> Maybe it is also an issue of a duplicate package export. Does your bundle maybe export
but not import the UserAdmin package? In this case it would see a different instance of the
package and would not be able to see the original UserAdmin.
>>
>> Christian
>>
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message