}
public void bootstrap() {
+ long begin = System.currentTimeMillis();
System.out.println();
info("OSGi bootstrap starting...");
info("Writable data directory : "
installUrls(getModulesUrls());
checkUnresolved();
startBundles();
- info("OSGi bootstrap completed");
+ long duration = System.currentTimeMillis() - begin;
+ info("OSGi bootstra completed in "
+ + Math.round(((double) duration) / 1000) + "s (" + duration
+ + "ms), " + bundleContext.getBundles().length + " bundles");
System.out.println();
}