sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konrad Windszus (Jira)" <j...@apache.org>
Subject [jira] [Created] (SLING-8680) Installer: DefaultTransformer should check for extension first
Date Fri, 06 Sep 2019 06:49:00 GMT
Konrad Windszus created SLING-8680:
--------------------------------------

             Summary: Installer: DefaultTransformer should check for extension first
                 Key: SLING-8680
                 URL: https://issues.apache.org/jira/browse/SLING-8680
             Project: Sling
          Issue Type: Improvement
          Components: Installer
    Affects Versions: Installer Core 3.9.0
            Reporter: Konrad Windszus
             Fix For: Installer Core 3.9.2


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).



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message