Hi Sam,
AFAIR, Equinox uses system properties, so you can try to put it in
config.properties.
If you want to use etc/my.bundle.name.cfg, your bundle has to use
ConfigAdmin.
Regards
JB
On 08/07/2012 05:20 PM, Sam Liu wrote:
Hi guys,
I have a few OSGi bundles written using Equinox, and they were deployed
under the Equinox framework. Now I am trying to deploy them under Karaf.
However, I have some properties that these bundles would read from the
/configuration/config.ini file under the Equinox framework before the
bundles start. Under Karaf, I am having troubles to find the place/file
to store those bundle properties.
I tried to follow some online posts, and but they seem to be a bit
complicated than how Equinox framework handles this. Is there a
particular file that I can just put these bundle properties in? I also
tried to create a mybundlename.cfg file in the /etc folder. However, it
didn't work. Could anyone please tell me what I should do?
Many thanks!
Sam
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com