wolverine my wrote:
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?
Use <zip> instead of JAR
How to not include the HelloWorld.mf into the JAR?
Exclude it from the fileset of stuff you are <jar>ing up
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]