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

Installer: DefaultTransformer should check for extension first

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Installer Core 3.9.0
    • Fix Version/s: Installer Core 3.9.2
    • Component/s: Installer
    • Labels:
      None

      Description

      Currently the DefaultTransformer will check if a resource is a bundle by opening it and look for the manifest (https://github.com/apache/sling-org-apache-sling-installer-core/blob/0a34e33dd26092437be5180e34979abbf9a88300/src/main/java/org/apache/sling/installer/core/impl/DefaultTransformer.java#L87). Since this may take some time one should in advance check for the right extension (".jar"), which is especially important since content-packages have a manifest as well (https://github.com/apache/sling-org-apache-sling-installer-factory-packages).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kwin Konrad Windszus
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: