This is a clear problem, declarative services are new and no tools have been made so far to debug and help.
However, it should not be that hard to make a tool for the OSGi command shell (org.osgi.tools.console.jar in membercvs) that parses the declarations and does some analysis? Felix and Equinox also have shells that are extendable. (In R5 we will look at creating one extension model). Kind regards, Peter kriens NM> Hi folks, NM> I have started to use declarative services for my project and endured a NM> fair amount of pain doing so. The main reason is the lack of good tools NM> to find out the wiring problems in my component declarations. NM> Most of the time the properties of services and target filters on NM> references don't match. The end result is that a whole bunch of services NM> are never activated and its hard to find out why. This is despite the NM> fact that I am only using static properties and no service factories. NM> How do you deal with similar problems? Its not hard to imagine NM> processing all the component declarations in a given set of bundles to NM> find out the wiring between components and possibly visualize it. I hope NM> others on this mailing list would also benefit from your suggestions and NM> tips. NM> If it helps to know, I am using Eclipse PDE as my IDE and Equinox as my NM> OSGI runtime. NM> Thanks, NM> Nikunj NM> _______________________________________________ NM> OSGi Developer Mail List NM> osgi-dev@bundles.osgi.org NM> http://bundles.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 osgi-dev@bundles.osgi.org http://bundles.osgi.org/mailman/listinfo/osgi-dev