maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Delbecq <de...@oma.be>
Subject Re: HOWTO generate a JAR with manifest but without META-INF
Date Mon, 13 Mar 2006 09:05:34 GMT
Jorg Panzer a écrit :

>
> The problem is, the JAR isn't executable. The manifest.mf must placed 
> a level higher ...
>
>
False, the manifest must be in META-INF/ according to jar specifications:
http://java.sun.com/j2se/1.4.2/docs/guide/jar/jar.html

You problem is that your manifest is named 'manifest.mf' while it should
be named 'MANIFEST.MF', could it be you use a case insensitive
filesystem and there is already a manifest.mf (in which case when maven
tries to open MANIFEST.MF, filesystem opens manifest.mf)?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message