You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Marcel Ruff <ru...@swand.lake.de> on 2000/10/10 14:29:32 UTC

question

Hi,

why do i get different results in
META-INF/MANIFEST.MF
when jaring with ant compared to the raw jar?

1. Doing it raw (jar cmf mymanifest ...):

   Manifest-Version: 1.0
   Main-Class: xyClass
   Created-By: 1.3.0 (IBM Corporation)
   Class-Path: xy.jar

2. Doing it with ant (<jar ... manifest="" ..>):

   Main-Class: xyClass
   Class-Path: xy.jar

There is no version and creator inserted when using ant.

any idea?


thanks, Marcel

-- 
Marcel Ruff
mailto:ruff@swand.lake.de
http://www.lake.de/home/lake/swand/
http://www.xmlBlaster.org

Re: question

Posted by Stefan Bodewig <bo...@bost.de>.
>>>>> "MR" == Marcel Ruff <ru...@swand.lake.de> writes:

 MR> why do i get different results in META-INF/MANIFEST.MF when
 MR> jaring with ant compared to the raw jar?

Because Ant wouldn't touch a user supplied MANIFEST.MF. Is this a
feature request 8^)?

Stefan