ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 47457] indexjars does not list META-INF
Date Fri, 10 Jul 2009 13:45:12 GMT

Stefan Bodewig <> changed:

           What    |Removed                     |Added
   Target Milestone|---                         |1.8.0

--- Comment #1 from Stefan Bodewig <>  2009-07-10 06:45:11 PST ---
If you look at the code you'll see META-INF is explicitly excluded and the
commit hints this may in order to be compatible with Sun's jar command.

In fact I've performed a few experiments and

jar i some.jar

will not include META-INF when using JDK 1.4.2 but when using JDK 1.5, so Sun's
jar has changed behavior and Ant hasn't tracked that.

We probably should not include META-INF unconditionally since this may very
well cause problems for people using the resulting jars on Java 1.4 or earlier.
 I'm going to add an option (defaulting to false) that has to be set explicitly
in order to include META-INF inside the index.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message