String featuresBoot = featuresProperties.getProperty(FEATURES_BOOT);
featuresBoot = featuresBoot != null && featuresBoot.length() > 0 ? featuresBoot + "," : "";
if (!featuresBoot.contains(feature.getName())) {
featuresBoot = featuresBoot + feature.getName();
featuresProperties.put(FEATURES_BOOT, featuresBoot);
featuresProperties.save(featuresCfgFile);
}
}
// add the feature in the system folder
resolveFeature(feature, features);
} else if (installedFeatures != null && installedFeatures.contains(feature.getName())) {