ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47457] indexjars does not list META-INF
Date Fri, 10 Jul 2009 13:45:12 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47457


Stefan Bodewig <bodewig@apache.org> changed:

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




--- Comment #1 from Stefan Bodewig <bodewig@apache.org>  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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message