ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "wolverine my" <wolverine...@gmail.com>
Subject Manifest files
Date Tue, 27 Mar 2007 04:24:54 GMT
Hi!

I created a JAR with the following Ant task:

<jar destfile="HelloWorld.jar" basedir="bin"
manifest="src/main/resources/METAINF/HelloWorld.mf">
</jar>


The HelloWorld.jar contains two manifest files:
...
META-INF/MANIFEST.MF
HelloWorld.mf

Both manifest files are the same except that the MANIFEST.MF contains
two extra lines:

Ant-Version: Apache Ant 1.7.0
Created-By: 1.5.0_11-b03 (Sun Microsystems Inc.)


How to not auto-generate the extra lines in MANIFEST.MF?

How to not include the HelloWorld.mf into the JAR?

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message