[logback-dev] [JIRA] Created: (LBGENERAL-51) Implementation-Version missed in Manifest-File

Rudolf Pfister (JIRA) noreply-jira at qos.ch
Fri Feb 10 21:53:26 CET 2012


Implementation-Version missed in Manifest-File
----------------------------------------------

                 Key: LBGENERAL-51
                 URL: http://jira.qos.ch/browse/LBGENERAL-51
             Project: logback-general
          Issue Type: Improvement
          Components: build-structure
    Affects Versions: 1.0.0
            Reporter: Rudolf Pfister
            Assignee: Logback dev list
            Priority: Minor


In the Manifest-File of the logback-*.jar-files there are np properties like 
- Implementation-Version, Implementation-Title, Implementation-Vendor
- Specification-Version, Specification-Title, Specification-Vendor

These Properties are useful to retreive Information about an package via the java.lang.Package-class.
Example:

    System.out.println(
                org.slf4j.Logger.class.getPackage()
                                .getImplementationVersion());
    System.out.println(
                ch.qos.logback.core.Appender.class.getPackage()
                                .getImplementationVersion());

First sysout returns e.g. 1.6.4, whereas second sysout returns null.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list