Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-10224

Feature-Launcher: only embed a minimal set of apache-commons classes

    XMLWordPrintableJSON

Details

    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

      Attachments

        Activity

          People

            bdelacretaz Bertrand Delacretaz
            bischofs@jena.de Stefan Bischof
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: