On Mon, 4 Nov 2002, Peter M. Goldstein wrote:

> Jenny,
> This isn't a compiler problem, it's a code problem.
> There's a typo.  The argument to the method says resulSetType, while the
> argument to createStatement says resultSetType.

Ok, I patched that (I assume it'll also get fixed in the next version of
Excalibur, tho I am not sure how to officially report it if needed).

Now the only issue remaining is the "cannot resolve symbol" errors in
Log4JLoggerManager.java which I'm pasted below in their entirety for clarity.
I'm forcing no line wrap so that these show up formatted correctly, though it
might make this email odd to read, but should keep the message accurate.

Output from ant:
...
compile:

Compiling 31 source files to /home/jbrown/Excalibur-4.1/build/classes

/home/jbrown/Excalibur-4.1/src/java/org/apache/avalon/excalibur/logger/Log4JLoggerManager.java:46:
 cannot resolve symbol
symbol  : constructor Log4JLoggerManager  (org.apache.log4j.spi.LoggerRepository)
location: class org.apache.avalon.excalibur.logger.Log4JLoggerManager
        this( Category.getDefaultHierarchy() );
        ^
/home/jbrown/Excalibur-4.1/src/java/org/apache/avalon/excalibur/logger/Log4JLoggerManager.java:63:
 cannot resolve symbol
symbol  : constructor Log4JLoggerManager  
(java.lang.String,org.apache.log4j.spi.LoggerRepository)
location: class org.apache.avalon.excalibur.logger.Log4JLoggerManager
        this( prefix, Category.getDefaultHierarchy() );
        ^
/home/jbrown/Excalibur-4.1/src/java/org/apache/avalon/excalibur/logger/Log4JLoggerManager.java:73:
 cannot resolve symbol
symbol  : method getInstance  (java.lang.String)
location: class org.apache.log4j.Hierarchy
              new Log4JLogger( hierarchy.getInstance("") ) );
                                        ^
/home/jbrown/Excalibur-4.1/src/java/org/apache/avalon/excalibur/logger/Log4JLoggerManager.java:115:
 cannot resolve symbol
symbol  : method getInstance  (java.lang.String)
location: class org.apache.log4j.Hierarchy
        logger = new Log4JLogger( m_hierarchy.getInstance( categoryName ) );
                                             ^
Note: 
/home/jbrown/Excalibur-4.1/src/java/org/apache/avalon/excalibur/logger/Log4JLoggerManager.java
 uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
4 errors

BUILD FAILED



If I recompile asking for deprecation warnings, here are the
additional lines that show up:

Log4JLoggerManager.java:46: warning: getDefaultHierarchy() in
org.apache.log4j.Category has been deprecated
        this( Category.getDefaultHierarchy() );
                      ^

Log4JLoggerManager.java:63: warning: getDefaultHierarchy() in
org.apache.log4j.Category has been deprecated
        this( prefix, Category.getDefaultHierarchy() );
                              ^

Maybe I am using a different version of log4j that this was built for?
I have log4j-1.2.6.jar in my classpath.



Jenny Brown



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

Reply via email to