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)