Antony,
Does the package:imports command not provide the needed information?
karaf@internal()> package:imports -p javax.xml.xpath
Package │ Version │ Optional │ ID │ Bundle Name
┼─┼──┼─┼───
javax.xml.xpath │
Hi,
It sounds like a change in exports command between Karaf 2 & 3.
Can you please create a ticket ? I will re-add the option on the shell
command (and probably corresponding MBean).
Thanks !
Regards
JB
On Tue, Aug 15, 2023 at 9:44 PM Anthony Wood wrote:
>
> Hi Paul,
>
> I am looking for a
Hi Paul,
I am looking for a way to find which bundles are importing packages from a
*given* bundle.
In karaf 2.x, if I have a bundle dependency network in which both bundles 1 and
2 import a package exported from bundle 3, this command shows me exactly which
bundles depend on 3 (i.e., 1 and
Anthony
"imports -i" may be what you are looking for.
karaf@root()> imports --help
DESCRIPTION
package:imports
Lists imported packages and the bundles that import them
SYNTAX
package:imports [options]
OPTIONS
--help
Display this help message
In karaf 2.x, I would often use ‘exports -i $id’ to show the “reverse
dependencies” of the bundle, i.e., what other bundles are wired to it by
imports.
I cannot find the equivalent in karat 4.4. Has this functionality been lost?
Thanks,
Anthony