[logback-dev] [JIRA] Commented: (LBCLASSIC-130) Multiple resource warning is not appropriate for logback-test.xml

olivier chaumont (JIRA) noreply-jira at qos.ch
Wed Jul 21 13:24:16 CEST 2010

    [ http://jira.qos.ch/browse/LBCLASSIC-130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11796#action_11796 ] 

olivier chaumont commented on LBCLASSIC-130:

I agree with Joem, it is better than Eclipse understand the difference between source in src/main and src/test like Maven. I hope the Maven integration will be better in the next Eclipse release.
But now we can't change our IDE (more than 50 developpers on multi projects) , and I think it's a good thing that we can define the  name of the logback config filename. Why not?

Now I can't deploy a web application in Eclipse which is link to other Eclipse project.  The logback.xml in web application is never read, and all logback-test.xm in other Eclipse project are loaded.
So we have rollback to log4j.

> Multiple resource warning is not appropriate for logback-test.xml
> -----------------------------------------------------------------
>                 Key: LBCLASSIC-130
>                 URL: http://jira.qos.ch/browse/LBCLASSIC-130
>             Project: logback-classic
>          Issue Type: Improvement
>    Affects Versions: 0.9.14, 0.9.15, 0.9.16
>            Reporter: Jon Vincent
>            Assignee: Ceki Gulcu
>            Priority: Minor
> When LBCLASSIC-85 was fixed, it also applied to logback-test.xml. Unfortunately, some IDEs (such as Eclipse) include the test classpath for all modules in a multi-module project -- which means that it's nearly impossible to avoid having multiple logback-test.xml files on the classpath if one project depends on another when running tests in Eclipse. Every test in the project will therefore emit this warning when run from the IDE.
> Is it possible to have the ContextInitializer only emit this warning for logback.xml, and not logback-test.xml? This would avoid a spurious/unactionable warning for developers using Eclipse. 

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