Hi all, I have managed to create a Karaf RPM giving a basic install based on the previous thread about RPM, and the next step I've achieved is to create a parallel instance of Karaf, with appropriate symbolic links pointing at the base installation. So far so good.
I have now reached the point where I need to figure out how to package some OSGI bundles that will be deployed into and will depend (in the RPM sense) on this Karaf instance, and need some advice on how to proceed. I understand that my OSGI bundles RPM will need to drop code into the "deploy" directory, which is easy to do from RPM, the bit I need advice about is updating the org.apache.karaf.features.cfg file. Am I right in understanding that each additional feature added involves an edit of the org.apache.karaf.features.cfg file? Alternatively, is there some mechanism that allows me to just drop in additional files alongside org.apache.karaf.features.cfg and achieve the same effect? I see in the standard installation there are config files like org.apache.karaf.features.obr.cfg and org.apache.karaf.features.repos.cfg, are these examples of how to do this, or am I on the wrong track? Please excuse the stupid questions, I have inherited a Karaf installation and don't yet fully understand the best practise for Karaf deployment, I'm trying to match up the Karaf world with the world of RPM, and would like to "do it right" by both. Regards, Graham --
smime.p7s
Description: S/MIME cryptographic signature
