I need to load a component defition (xml file) from outside the jar (bundle).
I've tried to put it under:
- plugins/my.bundle.name/OSGI-INF/mycomponent.xml
- plugins/OSGI-INF/mycomponent.xml
And i've played with bundle's classpath too, with no luck.
I need to load a component defition (xml file) from outside the jar (bundle).
I've tried to put it under:
And i've played with bundle's classpath too, with no luck.
Declarative Services requires the component description XML to be part of the bundle or any of its attached fragments. The Service-Component header in the bundle's manifest must reference the entry name(s) of the XML file(s).