This is intentional. log4j-extras needs the interface definition
since it may work with versions of log4j prior to log4j 1.2.15. log4j
1.2.15 needs the definition since it calls the
UnrecognizedElementHandler when it encounters an unrecognized element.
On Sep 12, 2008, at 1:28 AM, Paul Smith wrote:
We have found there's a duplicate class in log4j and log4j-extras.
I've upgraded our local environment to a 1.2.16 snapshot with the
extras, and low and behold a Bamboo run failed a test (I got the
chicken.. grrr :) ). We have a test that iterates over the jar's in
the classpath looking for duplicate entries because it's a sure sign
of a mismatch of jar versions and hilarity can ensure later on so
it's best to spot this early.
Paul-Smiths-Computer:lib paulsmith$ unzip -l
log4j-1.2.16.20080912.jar | fgrep Unrecogn
286 09-10-08 11:06 org/apache/log4j/xml/
UnrecognizedElementHandler.class
Paul-Smiths-Computer:lib paulsmith$ unzip -l apache-log4j-
extras-1.0.20080912.jar| fgrep Unrecogn
286 06-27-08 08:24 org/apache/log4j/xml/
UnrecognizedElementHandler.class
Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]