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

Installer: DefaultTransformer should check for extension first

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Installer Core 3.9.0
    • Installer Core 3.10.0
    • Installer
    • 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

            kwin Konrad Windszus
            kwin Konrad Windszus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: