logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44370] New: - MANIFEST.MF broken in log4j-1.2.15.jar
Date Wed, 06 Feb 2008 18:21:21 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44370>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44370

           Summary: MANIFEST.MF broken in log4j-1.2.15.jar
           Product: Log4j
           Version: 1.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Other
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: lauredo@gmail.com


The manifest (MANIFEST.MF) in log4j-1.2.15.jar now uses:
 
 
Name: org.apache.log4j
 
instead of
 
 
Name: org/apache/log4j/
 

in previous versions (1.2.14, 1.2.13, etc) 


Note the dot '.' instead of the slash '/'.
 

This means that the following piece of code:
 
        String implementationVersion =
org.apache.log4j.Appender.class.getPackage().getImplementationVersion();
        System.out.println('"' + implementationVersion + '"');
 
now returns "null" instead of "1.2.15" as it would have done with previous releases.
 
Changing the MANIFEST.MF line "Name: org.apache.log4j" into "Name:
org/apache/log4j/" solves the issue.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message