LOGBack Classic Bundle does not declare ch.qos.logback.core.rolling as 
Import-Package
-------------------------------------------------------------------------------------

                 Key: LBCLASSIC-108
                 URL: http://jira.qos.ch/browse/LBCLASSIC-108
             Project: logback-classic
          Issue Type: Bug
          Components: Other
    Affects Versions: 0.9.15
            Reporter: Christian Brensing
            Assignee: Logback dev list
            Priority: Minor


The LOGBack Classic Bundle has no Import-Package for 
ch.qos.logback.core.rolling (and rolling.helper), resulting in a 
ClassNotFoundException when using e.g. the RollingFileAppender from the 
Core-Bundle. The ClassNotFoundException will be raised because the Bundle which 
initializes the LoggerContext (Classic) can not load the Appender from the 
Core-Bundle. The Bnd-Tool by Peter Kriens and the Maven-Felix-Plugin only 
detects package dependencies that are imported in java classes. Runtime 
dependencies like Appenders must be explicitly configured in the bnd-file or 
pom.

This issue is identically to the one I reported for the 
SpringSource-Bundle-Repository, see 
https://issuetracker.springsource.com/browse/BRITS-165.

-- 
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

        
_______________________________________________
logback-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-dev

Reply via email to