Actually, I just checked the HTTP bundle manifest, and the 
CM package import should, indeed, be set to optional already:

>> org.osgi.service.cm;resolution:=optional;version="1.2"

Despite of that, the package start will fail.

BTW, unless I misunderstood something, this appears to
be the case for SCR as well (import optional, yet will
fail until CM admin or OSGI compendium is loaded). I must
be doing something wrong...



I'm actually rather new to the OSGi and Felix in particular. 
Can somebody tell how to make the startup environment export
cm.* packages as advised below by Mike?



Many thanks again!

br, Jiri


>-----Original Message-----
>From: ext Mike Haney [mailto:[email protected]] 
>Sent: 11 January, 2010 02:52
>To: [email protected]
>Subject: Re: Felix HTTP implementation having hard dependency 
>on Config Admin
>
>Couldn't the package imports be set to optional?
>
>On Jan 10, 2010 6:42 PM, "Sten Roger Sandvik" <[email protected]> wrote:
>
>Hi.
>
>It's only the packages that is required. You can either 
>install the configadmin bundle or let the startup environment 
>export the cm.* compendium packages. I do not think the 
>package dependency can easily be removed.
>
>/srs
>
>On Sun, Jan 10, 2010 at 11:46 PM, Hlusi, Jiri (NSN - 
>FI/Tampere) < [email protected]> wrote: > Hell...
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [email protected]
>For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to