Anyone using log4j/commons and JUnit should change the junit/runner/excluded.properties file inside junit.jar to add excluded elements for Apache Log4j and Commons Logging. For the 3.0.2 release, the edited excluded list would look like this:
#
# The list of excluded package paths for the TestCaseClassLoader
#
excluded.0=sun.*
excluded.1=com.sun.*
excluded.2=org.omg.*
excluded.3=javax.*
excluded.4=sunw.*
excluded.5=java.*
excluded.6=org.w3c.dom.*
excluded.7=org.xml.sax.*
excluded.8=net.jini.*
excluded.9=org.apache.log4j.*
excluded.10=org.apache.commons.logging.*
[Tip originated with Gareth Cronin]
-- TedHusted - 03 Mar 2003
|
|