I have two bundles A and B, where B contains a properties file at de/linsin/sample/test.properties. The package de/linsin/sample is exported. Bundle A imports package de/linsin/sample and tries to use the test.properties file in ins applicationContext.xml when Equinox starts the context like this:
Unfortunately I get the following Exception (stack trace shortened):
I tried variations like classpath* or bundleentry but they don't work either. Any idea how to load properties from another bundle?
Caused by: java.io.FileNotFoundException: OSGi resource[classpath:de/linsin/sample/test.properties|bnd.id=23|bnd.sym=de.linsin.sample.A] cannot be resolved to URL because it does not exist