I will fix bindex ... Kind regards,
Peter Kriens HM> Hello, HM> HM> I am using the Felix RepositoryAdmin on equinox, which works really HM> fine. HM> To create my repository.xml I am using the bindex tool provided by Peter HM> Kriens. HM> I now ran into a problem which I am not really able to solve: HM> I install the pax log4j bundle for using log4j in my services. HM> This bundle exports the package org.apache.log4j.xml with a uses clause HM> for HM> javax.xml.parsers. The javax.xml.parsers package is also stated in the HM> import-package clause. HM> If I activate the bundle in equinox via the console everything is ok, HM> equinox starts the bundle HM> and states that javax.xml.parsers was found in the System Bundle. HM> Now I want to install an apache-commons package, which has a dependency HM> on log4j with the help HM> of RepositoryAdmin. HM> This fails in Resolver.resolve() as the Resolver dedects the unsatisfied HM> requirement javax.xml.parsers HM> for the pax log4j bundle. HM> Of course my repository.xml has no entry for javax.xml.parsers and my HM> bundle repository does not have the jar file. HM> Can someone please guide me in the right direction how to solve this HM> problem? HM> HM> Another thing I encountered when using the bindex tool was the HM> following: HM> I am also using maven and therefore I want to use the maven repo as HM> bundle repository. HM> Of course not all jar files in the maven repo are OSGi bundles. HM> When bindex generates the repository.xml it adds entries like HM> HM> <resource id='28' symbolicname='Untitled-534725839' uri='xxx.jar' version='0.0.0'>> HM> HM> for all non OSGi bundles to the repository.xml. HM> When initializing the RepositoryAdmin with this repository.xml the HM> process fails with a NullPointerException as the resource is HM> missing a presentationname attribute, which is used in the felix HM> ResourceComparator. HM> Can I alter this behaviour(bindex or felix obr) somehow via settings or HM> do I have to change the code? HM> HM> Thanks a lot in advance for any help, HM> HM> michael HM> HM> HM> HM> HM> -- Peter Kriens Tel +33467542167 9C, Avenue St. Drézéry AOL,Yahoo: pkriens 34160 Beaulieu, France ICQ 255570717 Skype pkriens Fax +1 8153772599