cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: Weired compilation
Date Fri, 04 May 2001 20:34:05 GMT


On Fri, 4 May 2001, Berin Loritsch wrote:

> giacomo wrote:
> >
> > Hi people
> >
> > I've encountered weired compilation errors and am not able to locate the
> > problem. Does anybody else had this?
> >
> > I've made a fresh checkout, checked the ext dir and so on but cannot
> > find why javac isn't able to find those methods. And yes they are in the
> > normal logkit.jar :( I also tried to use a newly compiled one from the
> > jakarta-avalon-logkit repository :((
>
> Make sure that your libs are also updated.  Peter made some changes to
> LogKit prior to codefreeze, and committed updates to Cocoon to reflect
> those changes.  You do have to have your libs and your code updated for
> it to compile though....
>
> Once Avalon Framework/Excalibur/LogKit are released next week, we will
> include version numbers in the jars to avoid this kind of confusion.

It cannot be that. I've checked out the hole repository again into
another directory to make sure I have the correct stuff and also diffed
it but nada. Javac still complains. I'm very confused and it hinders me
to complete some work to test and commit (the samples for cached XSP
pages) ://

Giacomo
>
> >
> > compile:
> > Copying 12 files to
> > /usr/home/giacomo/cvs/xml-cocoon2/build/cocoon/classes
> > Compiling 225 source files to
> > /usr/home/giacomo/cvs/xml-cocoon2/build/cocoon/classes
> > /usr/home/giacomo/cvs/xml-cocoon2/build/cocoon/src/org/apache/cocoon/servlet/CocoonServlet.java:49:
> > Class org.apache.log.output.ServletOutputLogTarget not found in import.
> > import org.apache.log.output.ServletOutputLogTarget;
> >        ^
> > /usr/home/giacomo/cvs/xml-cocoon2/build/cocoon/src/org/apache/cocoon/components/pipeline/CachingStreamPipeline.java:169:
> > Method isDebugEnabled() not found in class org.apache.log.Logger.
> >                         if (getLogger().isDebugEnabled() == true) {
> >                                                       ^
> > /usr/home/giacomo/cvs/xml-cocoon2/build/cocoon/src/org/apache/cocoon/components/pipeline/CachingStreamPipeline.java:286:
> > Method isDebugEnabled() not found in class org.apache.log.Logger.
> >                             if (getLogger().isDebugEnabled() == true) {
> >                                                           ^
> > /usr/home/giacomo/cvs/xml-cocoon2/build/cocoon/src/org/apache/cocoon/components/pipeline/CachingEventPipeline.java:154:
> > Method isDebugEnabled() not found in class org.apache.log.Logger.
> >                         if (getLogger().isDebugEnabled() == true) {
> >                                                       ^
> > /usr/home/giacomo/cvs/xml-cocoon2/build/cocoon/src/org/apache/cocoon/Main.java:158:
> > Method getPriorityForName(java.lang.String) not found in interface
> > org.apache.log.Priority.
> >             final Priority priority =
> > Priority.getPriorityForName(logLevel);
> >                                                                  ^
> > /usr/home/giacomo/cvs/xml-cocoon2/build/cocoon/src/org/apache/cocoon/Main.java:159:
> > Incompatible type for method. Can't convert org.apache.log.Priority to
> > org.apache.log.Priority.Enum.
> >             LogKit.setGlobalPriority(priority);
> >                                      ^
> > /usr/home/giacomo/cvs/xml-cocoon2/build/cocoon/src/org/apache/cocoon/Main.java:161:
> > Method setPriority(org.apache.log.Priority) not found in class
> > org.apache.log.Logger.
> >             log.setPriority(priority);
> >                            ^
> > TIA
> >
> > Giacomo
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message