Thanks a lot ! It seems to be just what I need. It would be nice to have something like that in the PackageAdmin service though, so that the same code can be used on all OSGi implementations.
Cheers, Olivier. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pascal Rapicault Sent: 10 July 2007 15:35 To: OSGi Developer Mail List Cc: [email protected]; [EMAIL PROTECTED] Subject: Re: [osgi-dev] Retrieving a bundle's dependencies Olivier, You may want to look at the State API defined in Equinox (see package org.eclipse.osgi.service.resolver). It allows to reason about a non-running system and analyze the dependencies using the information available in the manifest. It is the main API that PDE tooling as well as the new equinox provisioning work uses. You can find some helper code and usage of this API in org.eclipse.pde.build (class PDEState). HTH, PaScaL _______________________________________________ OSGi Developer Mail List [email protected] http://www2.osgi.org/mailman/listinfo/osgi-dev
