You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Iyad Elian (JIRA)" <ji...@codehaus.org> on 2007/11/30 19:36:58 UTC

[jira] Commented: (MASSEMBLY-252) Please create an executable archive (xar) plugin similar to war

    [ http://jira.codehaus.org/browse/MASSEMBLY-252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_115563 ] 

Iyad Elian commented on MASSEMBLY-252:
--------------------------------------

Please note unlike a war which places classes under WEB-INF/classes. executable jar classes are not under any dir other than their package. talk about consistency between wars, ears, rars and xars.

> Please create an executable archive (xar) plugin similar to war
> ---------------------------------------------------------------
>
>                 Key: MASSEMBLY-252
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-252
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: New Feature
>    Affects Versions: 2.2-beta-1
>         Environment: any
>            Reporter: Iyad Elian
>
> There is no archetype to build an executable jar for batchapp's. clone the war plugin and modify slightly to have APP-INF instead of WEB-INF and command-config.xml instead of web.xml. META-INF/MANIFEST.MF is a must. it has a main class and specifies jars under APP-INF/lib in its classpath. artifact produced can then be executed from the command line using java -jar <artifact>. Can contribute code if description not clear.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira