Re: Get a List of installed Bundles

2009-06-25 Thread Juan José Vázquez Delgado
Hi, > I'm trying to get a list of installed bundles in sling. Bundles are installed in the OSGi container, really. You can get the list of bundles with something like this: for(Bundle b : bundleContext.getBundles() ) { logger.info( "Bundle &quo

Get a List of installed Bundles

2009-06-25 Thread Juan
Hello everyone. I'm trying to get a list of installed bundles in sling. I saw something like the class BootstrapInstaller implementing the BundleActivator class. I think that could be something like the treak with the final File dataFile = context.getDataFile("bootstrapins