You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Olivier Lamy (*$^¨%`£ JIRA)" <ji...@apache.org> on 2013/03/24 11:19:16 UTC

[jira] [Closed] (MTOMCAT-215) Multiple manifests under META-INF, two Main-Class entries

     [ https://issues.apache.org/jira/browse/MTOMCAT-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy (*$^¨%`£) closed MTOMCAT-215.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2

applied.
Thanks!
                
> Multiple manifests under META-INF, two Main-Class entries
> ---------------------------------------------------------
>
>                 Key: MTOMCAT-215
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-215
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat7
>    Affects Versions: 2.1
>            Reporter: Tim Astle
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Minor
>             Fix For: 2.2
>
>         Attachments: AbstractExecWarMojo.java.patch
>
>
> Relates to this post: http://www.mail-archive.com/users@tomcat.apache.org/msg104817.html
> When using the -standalone jar / war mojos and looked into the artifact that they produced, I noticed that the META-INF directory contained mulitple MANIFEST.MF entries.  I know that the zip archive format supports this, but I'm worried that it may produce undesirable behaviour as two of the manifest entries define a Main-Class.  I'm uncertain how a winner is determined when -jar is the only option provided via command line.
> Additionally, for users who unzip an archive to make modifications, they could potentially blow-away the desirable manifest when manifests are overwritten to the same location on disk, thus crippling the executable jar / war functionality.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org