You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Gary Gregory <gg...@seagullsoftware.com> on 2004/09/17 00:16:44 UTC

Compile error with latest from CVS

Hello, I get the following compile error with latest from CVS:

>ant clean jar
Buildfile: build.xml

init:

clean:
   [delete] Deleting directory
C:\cvs-store\apache.org\jakarta\log4j\dist\classes

init:

jndiCheck:

build.core:
    [mkdir] Created dir:
C:\cvs-store\apache.org\jakarta\log4j\dist\classes
    [javac] Compiling 202 source files to
C:\cvs-store\apache.org\jakarta\log4j\dist\classes
    [javac]
C:\cvs-store\apache.org\jakarta\log4j\src\java\org\apache\log4j\PatternL
ayout.java:507: cannot resolve symbol
    [javac] symbol  : method chainHandlesTrowable
(org.apache.log4j.pattern.PatternConverter)
    [javac] location: class org.apache.log4j.pattern.PatternConverter
    [javac]     handlesExceptions =
PatternConverter.chainHandlesTrowable(head);
    [javac]                                         ^
    [javac]
C:\cvs-store\apache.org\jakarta\log4j\src\java\org\apache\log4j\pattern\
ThreadPatternConverter.java:27:
org.apache.log4j.pattern.ThreadPatternConver
ter is not abstract and does not override abstract method
getStyleClass(org.apache.log4j.spi.LoggingEvent) in
org.apache.log4j.pattern.PatternConverter
    [javac] public class ThreadPatternConverter extends PatternConverter
{
    [javac]        ^
    [javac]
C:\cvs-store\apache.org\jakarta\log4j\src\java\org\apache\log4j\pattern\
ThrowableInformationPatternConverter.java:30:
org.apache.log4j.pattern.Throw
ableInformationPatternConverter is not abstract and does not override
abstract method getStyleClass(org.apache.log4j.spi.LoggingEvent) in
org.apache.log4j.patte
rn.PatternConverter
    [javac] public class ThrowableInformationPatternConverter extends
PatternConverter {
    [javac]        ^
    [javac] Note:
C:\cvs-store\apache.org\jakarta\log4j\src\java\org\apache\log4j\Property
Configurator.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 3 errors

BUILD FAILED
C:\cvs-store\apache.org\jakarta\log4j\build.xml:254: Compile failed; see
the compiler error output for details.

Thanks,
Gary

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


RE: Compile error with latest from CVS

Posted by Ceki Gülcü <ce...@qos.ch>.
Added the missing methods. Renamed chainHandlesTrowable() as
chainHandlesThrowable(). Sorry about the hassle.

Gump is undergoing serious changes, maybe that is the reason...

At 12:30 AM 9/17/2004, you wrote:
>Ceki, do you still need to check something in for PatternConverter?
>
>     handlesExceptions = PatternConverter.chainHandlesTrowable(head);
>
>"chainHandlesTrowable" method doesn't yet exist in cvs (also there's a
>spelling issue while we're there  :) ).
>
>It's interesting that Gump hasn't picked this up? (or hasn't it run yet)
>
>cheers,
>
>Paul Smith
>
> > -----Original Message-----
> > From: Paul Smith [mailto:psmith@aconex.com]
> > Sent: Friday, September 17, 2004 8:21 AM
> > To: Log4J Developers List
> > Subject: RE: Compile error with latest from CVS
> >
> >
> > Hmm. I can confirm this.  I'll take a quick peek.
> >
> > cheers,
> >
> > Paul Smith
> >
> > > -----Original Message-----
> > > From: Gary Gregory [mailto:ggregory@seagullsoftware.com]
> > > Sent: Friday, September 17, 2004 8:17 AM
> > > To: Log4J Developers List
> > > Subject: Compile error with latest from CVS
> > >
> > >
> > > Hello, I get the following compile error with latest from CVS:
> > >
> > > >ant clean jar
> > > Buildfile: build.xml
> > >
> > > init:
> > >
> > > clean:
> > >    [delete] Deleting directory
> > > C:\cvs-store\apache.org\jakarta\log4j\dist\classes
> > >
> > > init:
> > >
> > > jndiCheck:
> > >
> > > build.core:
> > >     [mkdir] Created dir:
> > > C:\cvs-store\apache.org\jakarta\log4j\dist\classes
> > >     [javac] Compiling 202 source files to
> > > C:\cvs-store\apache.org\jakarta\log4j\dist\classes
> > >     [javac]
> > > C:\cvs-store\apache.org\jakarta\log4j\src\java\org\apache\log4j\PatternL
> > > ayout.java:507: cannot resolve symbol
> > >     [javac] symbol  : method chainHandlesTrowable
> > > (org.apache.log4j.pattern.PatternConverter)
> > >     [javac] location: class org.apache.log4j.pattern.PatternConverter
> > >     [javac]     handlesExceptions =
> > > PatternConverter.chainHandlesTrowable(head);
> > >     [javac]                                         ^
> > >     [javac]
> > > C:\cvs-store\apache.org\jakarta\log4j\src\java\org\apache\log4j\pattern\
> > > ThreadPatternConverter.java:27:
> > > org.apache.log4j.pattern.ThreadPatternConver
> > > ter is not abstract and does not override abstract method
> > > getStyleClass(org.apache.log4j.spi.LoggingEvent) in
> > > org.apache.log4j.pattern.PatternConverter
> > >     [javac] public class ThreadPatternConverter extends PatternConverter
> > > {
> > >     [javac]        ^
> > >     [javac]
> > > C:\cvs-store\apache.org\jakarta\log4j\src\java\org\apache\log4j\pattern\
> > > ThrowableInformationPatternConverter.java:30:
> > > org.apache.log4j.pattern.Throw
> > > ableInformationPatternConverter is not abstract and does not override
> > > abstract method getStyleClass(org.apache.log4j.spi.LoggingEvent) in
> > > org.apache.log4j.patte
> > > rn.PatternConverter
> > >     [javac] public class ThrowableInformationPatternConverter extends
> > > PatternConverter {
> > >     [javac]        ^
> > >     [javac] Note:
> > > C:\cvs-store\apache.org\jakarta\log4j\src\java\org\apache\log4j\Property
> > > Configurator.java uses or overrides a deprecated API.
> > >     [javac] Note: Recompile with -deprecation for details.
> > >     [javac] 3 errors
> > >
> > > BUILD FAILED
> > > C:\cvs-store\apache.org\jakarta\log4j\build.xml:254: Compile failed; see
> > > the compiler error output for details.
> > >
> > > Thanks,
> > > Gary
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
> > > For additional commands, e-mail: log4j-dev-help@logging.apache.org
> > >
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
> > For additional commands, e-mail: log4j-dev-help@logging.apache.org
> >
> >
> >
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
>For additional commands, e-mail: log4j-dev-help@logging.apache.org

-- 
Ceki Gülcü

      For log4j documentation consider "The complete log4j manual"
      ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp  



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


RE: Compile error with latest from CVS

Posted by Paul Smith <ps...@aconex.com>.
Ceki, do you still need to check something in for PatternConverter?

    handlesExceptions = PatternConverter.chainHandlesTrowable(head);

"chainHandlesTrowable" method doesn't yet exist in cvs (also there's a
spelling issue while we're there  :) ).

It's interesting that Gump hasn't picked this up? (or hasn't it run yet)

cheers,

Paul Smith

> -----Original Message-----
> From: Paul Smith [mailto:psmith@aconex.com]
> Sent: Friday, September 17, 2004 8:21 AM
> To: Log4J Developers List
> Subject: RE: Compile error with latest from CVS
>
>
> Hmm. I can confirm this.  I'll take a quick peek.
>
> cheers,
>
> Paul Smith
>
> > -----Original Message-----
> > From: Gary Gregory [mailto:ggregory@seagullsoftware.com]
> > Sent: Friday, September 17, 2004 8:17 AM
> > To: Log4J Developers List
> > Subject: Compile error with latest from CVS
> >
> >
> > Hello, I get the following compile error with latest from CVS:
> >
> > >ant clean jar
> > Buildfile: build.xml
> >
> > init:
> >
> > clean:
> >    [delete] Deleting directory
> > C:\cvs-store\apache.org\jakarta\log4j\dist\classes
> >
> > init:
> >
> > jndiCheck:
> >
> > build.core:
> >     [mkdir] Created dir:
> > C:\cvs-store\apache.org\jakarta\log4j\dist\classes
> >     [javac] Compiling 202 source files to
> > C:\cvs-store\apache.org\jakarta\log4j\dist\classes
> >     [javac]
> > C:\cvs-store\apache.org\jakarta\log4j\src\java\org\apache\log4j\PatternL
> > ayout.java:507: cannot resolve symbol
> >     [javac] symbol  : method chainHandlesTrowable
> > (org.apache.log4j.pattern.PatternConverter)
> >     [javac] location: class org.apache.log4j.pattern.PatternConverter
> >     [javac]     handlesExceptions =
> > PatternConverter.chainHandlesTrowable(head);
> >     [javac]                                         ^
> >     [javac]
> > C:\cvs-store\apache.org\jakarta\log4j\src\java\org\apache\log4j\pattern\
> > ThreadPatternConverter.java:27:
> > org.apache.log4j.pattern.ThreadPatternConver
> > ter is not abstract and does not override abstract method
> > getStyleClass(org.apache.log4j.spi.LoggingEvent) in
> > org.apache.log4j.pattern.PatternConverter
> >     [javac] public class ThreadPatternConverter extends PatternConverter
> > {
> >     [javac]        ^
> >     [javac]
> > C:\cvs-store\apache.org\jakarta\log4j\src\java\org\apache\log4j\pattern\
> > ThrowableInformationPatternConverter.java:30:
> > org.apache.log4j.pattern.Throw
> > ableInformationPatternConverter is not abstract and does not override
> > abstract method getStyleClass(org.apache.log4j.spi.LoggingEvent) in
> > org.apache.log4j.patte
> > rn.PatternConverter
> >     [javac] public class ThrowableInformationPatternConverter extends
> > PatternConverter {
> >     [javac]        ^
> >     [javac] Note:
> > C:\cvs-store\apache.org\jakarta\log4j\src\java\org\apache\log4j\Property
> > Configurator.java uses or overrides a deprecated API.
> >     [javac] Note: Recompile with -deprecation for details.
> >     [javac] 3 errors
> >
> > BUILD FAILED
> > C:\cvs-store\apache.org\jakarta\log4j\build.xml:254: Compile failed; see
> > the compiler error output for details.
> >
> > Thanks,
> > Gary
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
> > For additional commands, e-mail: log4j-dev-help@logging.apache.org
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-dev-help@logging.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


RE: Compile error with latest from CVS

Posted by Paul Smith <ps...@aconex.com>.
Hmm. I can confirm this.  I'll take a quick peek. 

cheers,

Paul Smith

> -----Original Message-----
> From: Gary Gregory [mailto:ggregory@seagullsoftware.com]
> Sent: Friday, September 17, 2004 8:17 AM
> To: Log4J Developers List
> Subject: Compile error with latest from CVS
> 
> 
> Hello, I get the following compile error with latest from CVS:
> 
> >ant clean jar
> Buildfile: build.xml
> 
> init:
> 
> clean:
>    [delete] Deleting directory
> C:\cvs-store\apache.org\jakarta\log4j\dist\classes
> 
> init:
> 
> jndiCheck:
> 
> build.core:
>     [mkdir] Created dir:
> C:\cvs-store\apache.org\jakarta\log4j\dist\classes
>     [javac] Compiling 202 source files to
> C:\cvs-store\apache.org\jakarta\log4j\dist\classes
>     [javac]
> C:\cvs-store\apache.org\jakarta\log4j\src\java\org\apache\log4j\PatternL
> ayout.java:507: cannot resolve symbol
>     [javac] symbol  : method chainHandlesTrowable
> (org.apache.log4j.pattern.PatternConverter)
>     [javac] location: class org.apache.log4j.pattern.PatternConverter
>     [javac]     handlesExceptions =
> PatternConverter.chainHandlesTrowable(head);
>     [javac]                                         ^
>     [javac]
> C:\cvs-store\apache.org\jakarta\log4j\src\java\org\apache\log4j\pattern\
> ThreadPatternConverter.java:27:
> org.apache.log4j.pattern.ThreadPatternConver
> ter is not abstract and does not override abstract method
> getStyleClass(org.apache.log4j.spi.LoggingEvent) in
> org.apache.log4j.pattern.PatternConverter
>     [javac] public class ThreadPatternConverter extends PatternConverter
> {
>     [javac]        ^
>     [javac]
> C:\cvs-store\apache.org\jakarta\log4j\src\java\org\apache\log4j\pattern\
> ThrowableInformationPatternConverter.java:30:
> org.apache.log4j.pattern.Throw
> ableInformationPatternConverter is not abstract and does not override
> abstract method getStyleClass(org.apache.log4j.spi.LoggingEvent) in
> org.apache.log4j.patte
> rn.PatternConverter
>     [javac] public class ThrowableInformationPatternConverter extends
> PatternConverter {
>     [javac]        ^
>     [javac] Note:
> C:\cvs-store\apache.org\jakarta\log4j\src\java\org\apache\log4j\Property
> Configurator.java uses or overrides a deprecated API.
>     [javac] Note: Recompile with -deprecation for details.
>     [javac] 3 errors
> 
> BUILD FAILED
> C:\cvs-store\apache.org\jakarta\log4j\build.xml:254: Compile failed; see
> the compiler error output for details.
> 
> Thanks,
> Gary
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-dev-help@logging.apache.org
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org