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 " + b.getBundleId() + " : " +
b.getSymbolicName() );
}

where bundleContext is obviously the Bundle Context.

Regards,

Juanjo.

Reply via email to