Re: Show reverse depends of a bundle on console

2023-08-23 Thread Paul Spencer
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 │

Re: Show reverse depends of a bundle on console

2023-08-21 Thread Jean-Baptiste Onofré
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

Re: Show reverse depends of a bundle on console

2023-08-15 Thread Anthony Wood
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

Re: Show reverse depends of a bundle on console

2023-08-11 Thread Paul Spencer
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

Show reverse depends of a bundle on console

2023-08-11 Thread Anthony Wood
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