I'm a little bit sceptical about this, because also the splash-bundle would start quite late in the process; nevertheless, I think the easiest solution is to retrieve all bundles. First thing karaf is doing is to resolve all bundles from all features and then starting them. Which means you can easily provide a bar with
0---(allBundles-notStartedBundlesByNow)-------allBundles Kind regards, Andreas On Mon, Jun 20, 2011 at 1:02 PM, [email protected] <[email protected]> wrote: > Hi! > > I'm using karaf and I have the module, which shows splash screen during > application startup. But I can't display progress bar correctly, because I > don't know at runtime, how many bundles would start. > > One of decisions is to use infinite progress bar during startup. Is there > any way to realize, that deployment cycle is finished? > Second, is to use finite progress bar, but I need to get some kind of build > plan to determine, how many bundles would be deployed. > > Does Karaf has such features? > > Thanks. > >
