Hello Joel, On Mar 26, 2009, at 14:58 , Joel Schuster wrote:
I'm trying to understand what the real advantage of using the Bundle Repository for installing bundles. I understand the advantage of it being able to discover dependencies and load those as well.
That is correct.
However, if I deploy using obr it updates the cache, but doesn't update the bundle directory. I'd like to be able to get a felix install working and then create an installer to distribute to other machines. If I use obr I'd have to include the cache directory which only has the jars as 'bundle.jar', not the real name of the jar for reference, and nothing else in the cache directory that specifies which one is which. Yes, I can look at the running ps command, but what if it's not running yet?
The way the OSGi specification defines it, an OSGi framework persists its bundle in the bundle cache so they're still available even after a restart.
There is no such concept as a "bundle" directory in OSGi though, that is just a feature of the launcher we use to bootstrap the framework. Because of this, there is no support in OBR to store a copy of anything it installs in that directory. It would not be too hard to modify an OBR client to do that though.
It seems what I really need is to download the bundles I need and use the FileInstall bundle or hardcode the config (which I'd rather not).
It's hard for me to judge what you really need. Can you explain a bit more about what you are trying to achieve? Are you trying to make a "static distribution" of the framework with a set of bundles that form your application?
Also, is there an OSGi Log Service already part of Felix? Or better, which Felix bundle provides the Log Service?
I don't think we have a Log Service. There are a lot of them out there though.
Greetings, Marcel --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

