It was designed to provide local wiring information, however, as you
guessed Richard Hall also complained bitterly. So we are looking at it
for a future release.

Kind regards,

     Peter Kriens
     
PO> Thanks to both of you, I will try to do it using the OBR.

PO> However, do you know what was the rational for not having an
PO> ImportedPackage interface, along with something like
PO> getImportedPackages(Bundle) in the PackageAdmin service ?
PO> It seems like something one would want to do, and would probably
PO> simplify quite a bit the implementation of the OBR service bundles. But
PO> I suspect that the PackageAdmin service wasn't really designed for that
PO> kind of use.

PO> Kind regards,
PO> Olivier

PO> -----Original Message-----
PO> From: [EMAIL PROTECTED]
PO> [mailto:[EMAIL PROTECTED] On Behalf Of Peter Kriens
PO> Sent: 05 July 2007 08:06
PO> To: Felix Meschberger
PO> Cc: OSGi Developer Mail List
PO> Subject: Re[2]: [osgi-dev] Retrieving a bundle's dependencies

PO> Right, OBR seems the way to go. However, if not you can find useful
PO> source code in

PO>       
PO> http://www2.osgi.org/svn/public/trunk/org.osgi.impl.bundle.bindex
PO>        http://www.aQute.biz/repo/biz/aQute/bndlib

PO> Kind regards,

PO>      Peter Kriens
PO>      

FM>> Hi Olivier,

FM>> Have you looked into using the OSGi Bundle Repository for this ? The

FM>> RFC spec is here [1] and Apache Felix has a nice implementation of 
FM>> it at [2]. You might also want to look at Peter's blog entry at [3].

FM>> After having set up such a repository, the bundlerepository bundle 
FM>> takes away all your pains of resolving dependencies and 
FM>> automatically include them for deployment.

FM>> Hope this helps.

FM>> Regards
FM>> Felix

FM>> [1] http://www2.osgi.org/download/rfc-0112_BundleRepository.pdf
FM>> [2] http://svn.apache.org/repos/asf/felix/trunk/bundlerepository
FM>> [3] http://www.osgi.org/blog/2006/04/bundle-repository.html

PO> _______________________________________________
PO> OSGi Developer Mail List
PO> [email protected]
PO> http://www2.osgi.org/mailman/listinfo/osgi-dev

-- 
Peter Kriens                              Tel +33467542167
9C, Avenue St. Drézéry                    AOL,Yahoo: pkriens
34160 Beaulieu, France                    ICQ 255570717
Skype pkriens                             Fax +1 8153772599

_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev

Reply via email to