[ 
https://issues.apache.org/jira/browse/SLING-2288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150580#comment-13150580
 ] 

Felix Meschberger commented on SLING-2288:
------------------------------------------

I cannot find it in the JAR spec, but it is an agreed upon fact, that the 
MANIFEST.MF must be first. But the java.util.JarInputStream class expects this.

So I would suggest we just assume this to be factual and just log.
                
> Bundle jar is silently ignored by the installer if MANIFEST.MF is not the 
> first file in the archive
> ---------------------------------------------------------------------------------------------------
>
>                 Key: SLING-2288
>                 URL: https://issues.apache.org/jira/browse/SLING-2288
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>            Reporter: Bertrand Delacretaz
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>
> A jar file where the MANIFEST.MF is not the first file in the jar is silently 
> ignored by the installer.
> We should at least output a warning, and maybe try harder to find the 
> manifest, in the Util.getManifest(...) method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to