On Tue, Oct 27, 2009 at 2:47 PM, Niko_K <n...@krismer.de> wrote: > > > Richard S. Hall wrote: >> >> You have two options: >> >> 1. You can modify your other bundles to wait until a log service is >> available before continuing, thus they won't try to use it before >> it appears. >> 2. You can install the log service into start level 1 and all your >> other bundles into start level 2 (look in the spec for start >> levels). >> >> Approach 2 is simpler, but your bundles are more fragile and difficult >> to reuse in other projects. >> >> -> richard >> > > I guess that using a comination of both approaches is the best way to go. > I am planning to use the log service only if it is available. Otherwise the > jdk log will be available.
spring-osgi-extender implemented the mandatory dependencies management. It could solve you problem only if you using spring-osgi :) http://static.springsource.org/osgi/docs/2.0.0.M1/reference/html/bnd-app-ctx.html#bnd-app-ctx:app-creation:mandatory-deps -Guo --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org