[subsystems] how to list bundles installed with a subsystem ?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[subsystems] how to list bundles installed with a subsystem ?

Seth Lana
Hi Aries users,

I'm playing with a composite Subsystem.

My esa file has two bundles embedded. its manifest contains every import
package and import service needed by them.

I was able to install and start the subsystem properly. So, I infer that
the embedded bundles are also installed at least, right?

But how to have a sure ?

Strangely, the Equinox "ss/status/s" command doesn't show even the
dynamic bundle created for my subsystem.

> 23    ACTIVE org.eclipse.equinox.event_1.4.0.v20170105-1446
> 24    ACTIVE org.osgi.service.subsystem.region.context.0_1.0.0

But the felix:lb -s  shows it:

>    23|Active     | 4|org.eclipse.equinox.event
> (1.4.0.v20170105-1446)|1.4.0.v20170105-1446
>    24|Active     | 1|org.osgi.service.subsystem.region.context.0
> (1.0.0)|1.0.0
>    25|Active     | 1|org.osgi.service.subsystem.region.context.1
> (1.0.0)|1.0.0

But any of those commands is showing the embedded bundles!

is there any command that can be used to list the bundles installed with
a scoped subsystem ?

thanks,

Seth

Reply | Threaded
Open this post in threaded view
|

Re: [subsystems] how to list bundles installed with a subsystem ?

Seth Lana
I got it !

what I missed was a Subsystem-Content header pointing to the embedded
bundles. I removed it in order to do some tests and didn't paste back...


anyway the equinox's "ss/s/status" commands still doesn't show the
installed bundles, but "felix:lb" shows them now.


On 13/05/2017 11:04, Seth Lana wrote:

> Hi Aries users,
>
> I'm playing with a composite Subsystem.
>
> My esa file has two bundles embedded. its manifest contains every
> import package and import service needed by them.
>
> I was able to install and start the subsystem properly. So, I infer
> that the embedded bundles are also installed at least, right?
>
> But how to have a sure ?
>
> Strangely, the Equinox "ss/status/s" command doesn't show even the
> dynamic bundle created for my subsystem.
>
>> 23    ACTIVE org.eclipse.equinox.event_1.4.0.v20170105-1446
>> 24    ACTIVE org.osgi.service.subsystem.region.context.0_1.0.0
>
> But the felix:lb -s  shows it:
>
>>    23|Active     | 4|org.eclipse.equinox.event
>> (1.4.0.v20170105-1446)|1.4.0.v20170105-1446
>>    24|Active     | 1|org.osgi.service.subsystem.region.context.0
>> (1.0.0)|1.0.0
>>    25|Active     | 1|org.osgi.service.subsystem.region.context.1
>> (1.0.0)|1.0.0
>
> But any of those commands is showing the embedded bundles!
>
> is there any command that can be used to list the bundles installed
> with a scoped subsystem ?
>
> thanks,
>
> Seth
>