Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Feature Model Launcher 1.1.16
-
None
Description
StringSubstitutor from commons-text is a great Util to replace '${thisVar}' with something. In the SlingFeatureLauncher case it replaces placeholder with the value of the map`context.getFrameworkProperties()` , or an empty string.
But commons-lang3 and commons-text brings 600kb to the Bundle.
Maybe we can Substitute it with a more lightweight StringSubstitutor.
Update: as discussed below, embedding just the required apache-commons classes has the same effect, without having to rewrite code