Hi,

Some of the 3 rd party jars search config files from their classPath.
However due to one loader per bundle policy of OSGi, the class path is
fragmented. There are two options to solve this issue,

- use absolute paths
- use fragment bundles

the latter option,

say if the bundle foo needs config file bar.xml. How about user creates a
directory named 'foo' under conf directory and put the config file there.
During the startup, we create new fragment bundle out of bar.xml and attach
it to bundle foo.

we are doing similar thing in log4j.properties file. but the approach is
not generic at the moment. WDYT ?

--Pradeep
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to