avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: [GUMP] Build Failure - excalibur-logger
Date Mon, 07 Oct 2002 12:54:53 GMT
Hi,

Looks like Log4j has made an incompatible change. Can someone who uses Log4j 
version of this have a look at it and see what we need to change it to. 
Preferrably something that is backwards compatible. If not we can just 
indicate that we require Log4j version X.

On Mon, 7 Oct 2002 21:47, Peter Donald wrote:
> compile:
>     [mkdir] Created dir:
> /home/rubys/jakarta/jakarta-avalon-excalibur/logger/build/classes [javac]
> Compiling 21 source files to
> /home/rubys/jakarta/jakarta-avalon-excalibur/logger/build/classes [javac]
> /home/rubys/jakarta/jakarta-avalon-excalibur/logger/src/java/org/apache/ava
>lon/excalibur/logger/Log4JLoggerManager.java:92: cannot resolve symbol
> [javac] symbol  : constructor Log4JLoggerManager 
> (org.apache.log4j.spi.LoggerRepository) [javac] location: class
> org.apache.avalon.excalibur.logger.Log4JLoggerManager [javac]         this(
> Category.getDefaultHierarchy() );
>     [javac]         ^
>     [javac]
> /home/rubys/jakarta/jakarta-avalon-excalibur/logger/src/java/org/apache/ava
>lon/excalibur/logger/Log4JLoggerManager.java:109: cannot resolve symbol
> [javac] symbol  : constructor Log4JLoggerManager 
> (java.lang.String,org.apache.log4j.spi.LoggerRepository) [javac] location:
> class org.apache.avalon.excalibur.logger.Log4JLoggerManager [javac]        
> this( prefix, Category.getDefaultHierarchy() ); [javac]         ^
>     [javac]
> /home/rubys/jakarta/jakarta-avalon-excalibur/logger/src/java/org/apache/ava
>lon/excalibur/logger/Log4JLoggerManager.java:119: cannot resolve symbol
> [javac] symbol  : method getInstance  (java.lang.String)
>     [javac] location: class org.apache.log4j.Hierarchy
>     [javac]               new Log4JLogger( hierarchy.getInstance( "" ) ) );
>     [javac]                                         ^
>     [javac]
> /home/rubys/jakarta/jakarta-avalon-excalibur/logger/src/java/org/apache/ava
>lon/excalibur/logger/Log4JLoggerManager.java:183: cannot resolve symbol
> [javac] symbol  : method getInstance  (java.lang.String)
>     [javac] location: class org.apache.log4j.Hierarchy
>     [javac]         logger = new Log4JLogger( m_hierarchy.getInstance(
> categoryName ) ); [javac]                                              ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -deprecation for details.
>     [javac] 4 errors
>
> BUILD FAILED
> file:/home/rubys/jakarta/jakarta-avalon-excalibur/logger/build.xml:205:
> Compile failed; see the compiler error output for details.
>
> Total time: 3 seconds

-- 
Cheers,

Peter Donald
*------------------------------------------------------*
| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |
*------------------------------------------------------*


--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message