In Karaf, if you install twice exactly the same bundle, then nothing happens (in the console the previous id is displayed). Maybe, you should always deploy a bundle with all its dependent bundles, no matter if they are already installed or not.
Take a look to Maven => http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html => "deploy" / "deploy-file"
Quoting Sander de Groot <[email protected]>:
Hi all, Does anybody know wether it is possible to create a custom resolver? I'd like to create some kind of auto-install mechanism which downloads bundles from a central repository. I've searched for these kind of things and found OBR(?) but unfortunately topics aren't too clear on this subject. My context is as follows: I've a cluster of servers (OSGi) and I want to deploy a new application to each of these servers. These new applications however sometimes have dependencies which are not installed on the (OSGi) server in question. In these cases I want the server to handle the missing dependencies by looking in a central repository. If the dependency is found then it should be installed if not: throw the unresolved dependencies exception. Is something like this possible or should I look for alternatives. Regards, Sander --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

