Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Question about the OSGI console commands: packages& bundle
Question about the OSGI console commands: packages& bundle [message #1008320] Mon, 11 February 2013 22:19 Go to next message
Aniruddha Shevade is currently offline Aniruddha ShevadeFriend
Messages: 14
Registered: July 2009
Junior Member
I am trying to see the packages being used by an eclipse plugin, using the eclipse osgi console

The results given by the following 2 commands do not appear consistent

a) When I use the "bundle" command for a plugin , I do not see a particular package listed as imported to eb specific ( javax.xml.bind )
b) When I use the "packages" command it shows that this package is being used by the plugin mentioned above

The given plugin does not directly import the package. So why would it be listed in the packages command?

Which command should I use to find out is a particular package is being used by a plugin?

Any help is appreciated


Regards
Ani
Re: Question about the OSGI console commands: packages& bundle [message #1011889 is a reply to message #1008320] Wed, 20 February 2013 12:38 Go to previous message
Libor Jelinek is currently offline Libor JelinekFriend
Messages: 143
Registered: January 2012
Location: Prague, Czech Rep.
Senior Member

Hello Aniruddha!
I'm not responding to your question only want to share my experience
with "packages" command - this command never gave me trustworthy
results. Often it says "No packages export" despite bundle actually
exports a lot of packages.

Maybe it will be worthwhile to file a bug with this inconsistency (in
that case repost bug ID here - I wish to follow up it).

--
Have a nice day!
Libor Jelinek
http://devblog.virtage.com/libor-jelinek/

On 11.2.2013 23:19, Aniruddha Shevade wrote:
> I am trying to see the packages being used by an eclipse plugin, using
> the eclipse osgi console
> The results given by the following 2 commands do not appear consistent
> a) When I use the "bundle" command for a plugin , I do not see a
> particular package listed as imported to eb specific ( javax.xml.bind )
> b) When I use the "packages" command it shows that this package is
> being used by the plugin mentioned above
> The given plugin does not directly import the package. So why would it
> be listed in the packages command?
>
> Which command should I use to find out is a particular package is being
> used by a plugin?
> Any help is appreciated
>
> Regards Ani
Previous Topic:Sorting a list of bundles, based on the dependencies between them
Next Topic:Running Equinox application on 64bit Java / Solaris
Goto Forum:
  


Current Time: Sat Apr 27 00:22:58 GMT 2024

Powered by FUDForum. Page generated in 0.02914 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top