You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2019/09/06 06:50:00 UTC
[jira] [Commented] (SLING-8680) Installer: DefaultTransformer
should check for extension first
[ https://issues.apache.org/jira/browse/SLING-8680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16923964#comment-16923964 ]
Konrad Windszus commented on SLING-8680:
----------------------------------------
[~cziegeler] WDYT?
> 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
> Priority: Major
> 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)