// Skip the Felix OSGi Framework
if (SystemBundleNames.FELIX.toString().equals(id)) {
continue;
}
final BundleEntry entry = new BundleEntry.Builder(getBundleId(models[i])).autostart(getAutoStart(id)).startLevel(
getStartLevel(id)).build();
final boolean inWorkspace = models[i].getUnderlyingResource() != null;
if (inWorkspace) {
workspacePlugins.add(entry.toString());
} else {
// By default, only add the plugin if it is in the Karaf model
final Version v = Version.parseVersion(models[i].getPluginBase().getVersion());
if (karafPlatform.getState().getBundle(id, v) != null && startupSection.containsPlugin(id)) {
externalPlugins.add(entry.toString());
}
}
}
configuration.setAttribute(IPDELauncherConstants.WORKSPACE_BUNDLES, KarafCorePluginUtils.join(workspacePlugins, ","));