You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by David Browning <da...@yahoo.com> on 2004/05/04 01:41:42 UTC

Can't build cocoon-2.1.4 Please help!

Hi

Sorry to repost this, but I am struggling.

I get the following errors:

fop-compile:
Compiling 1 source file to
C:\cocoon-2.1.4\build\cocoon-2.1.4\blocks\fop\dest
C:\cocoon-2.1.4\src\blocks\fop\java\org\apache\cocoon\serialization\FOPSerializer.java:154:
cannot resolve symbol
symbol  : method setScreenLogger
(org.apache.avalon.framework.logger.Logger)
location: class
org.apache.fop.messaging.MessageHandler
        MessageHandler.setScreenLogger(this.logger);
                      ^
C:\cocoon-2.1.4\src\blocks\fop\java\org\apache\cocoon\serialization\FOPSerializer.java:263:
cannot resolve symbol
symbol  : method setLogger
(org.apache.avalon.framework.logger.Logger)
location: class org.apache.fop.apps.Driver
        this.driver.setLogger(this.logger);
        ^
2 errors

BUILD FAILED
C:\cocoon-2.1.4\tools\targets\compile-build.xml:157:
Following error occured while executing this line
C:\cocoon-2.1.4\build\cocoon-2.1.4\temp\blocks-build.xml:504:
Following error occured while executing this line
C:\cocoon-2.1.4\build\cocoon-2.1.4\temp\blocks-build.xml:546:
Compile failed; see the compiler error output for
details.

I am using JDK1.4.2 on an XP box. The Avalon Framework
jar (4.1.4) in the core sub-dir seems OK.

I would much appreciate any help or suggestions.

Many thanks

David




=====
37 Townsend St           Tel: (07) 4779 7755 (H) & (W)   
Mysterton                    Mobile: 0405 600469
Townsville 4812
Australia                      ICQ: 200314474

David Browning

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


Re: Can't build cocoon-2.1.4 Please help!

Posted by David Browning <da...@yahoo.com>.
Eventually managed a build by excluding fop block. Who
needs a print formatter anyway ;)

Oh well, it will have to do for now.

When I have a little time, I will investigate further.

Thanks for your help Joerg - at least your previous
message to Lars Huttar got me going in a constructive
direction. 

David

--- Joerg Heinicke <jo...@gmx.de> wrote: >
Unfortunately I can only say "it works for me". I
> tested it two minutes 
> ago with a recent version from CVS, but I have also
> a version 2.1.4 
> running at work and there I also use the
> FOPSerializer. The error 
> message does IMO not point to a problem with avalon
> classes, but with 
> fop classes. Both
> org.apache.fop.messaging.MessageHandler and 
> org.apache.fop.apps.Driver are obviously fop
> classes.
> 
> Joerg
> 
> On 04.05.2004 01:41, David Browning wrote:
> 
> > Hi
> > 
> > Sorry to repost this, but I am struggling.
> > 
> > I get the following errors:
> > 
> > fop-compile:
> > Compiling 1 source file to
> > C:\cocoon-2.1.4\build\cocoon-2.1.4\blocks\fop\dest
> >
>
C:\cocoon-2.1.4\src\blocks\fop\java\org\apache\cocoon\serialization\FOPSerializer.java:154:
> > cannot resolve symbol
> > symbol  : method setScreenLogger
> > (org.apache.avalon.framework.logger.Logger)
> > location: class
> > org.apache.fop.messaging.MessageHandler
> >        
> MessageHandler.setScreenLogger(this.logger);
> >                       ^
> >
>
C:\cocoon-2.1.4\src\blocks\fop\java\org\apache\cocoon\serialization\FOPSerializer.java:263:
> > cannot resolve symbol
> > symbol  : method setLogger
> > (org.apache.avalon.framework.logger.Logger)
> > location: class org.apache.fop.apps.Driver
> >         this.driver.setLogger(this.logger);
> >         ^
> > 2 errors
> > 
> > BUILD FAILED
> >
> C:\cocoon-2.1.4\tools\targets\compile-build.xml:157:
> > Following error occured while executing this line
> >
>
C:\cocoon-2.1.4\build\cocoon-2.1.4\temp\blocks-build.xml:504:
> > Following error occured while executing this line
> >
>
C:\cocoon-2.1.4\build\cocoon-2.1.4\temp\blocks-build.xml:546:
> > Compile failed; see the compiler error output for
> > details.
> > 
> > I am using JDK1.4.2 on an XP box. The Avalon
> Framework
> > jar (4.1.4) in the core sub-dir seems OK.
> > 
> > I would much appreciate any help or suggestions.
> > 
> > Many thanks
> > 
> > David
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail:
> users-help@cocoon.apache.org
>  

=====
37 Townsend St           Tel: (07) 4779 7755 (H) & (W)   
Mysterton                    Mobile: 0405 600469
Townsville 4812
Australia                      ICQ: 200314474

David Browning

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


Re: Can't build cocoon-2.1.4 Please help!

Posted by Joerg Heinicke <jo...@gmx.de>.
Unfortunately I can only say "it works for me". I tested it two minutes 
ago with a recent version from CVS, but I have also a version 2.1.4 
running at work and there I also use the FOPSerializer. The error 
message does IMO not point to a problem with avalon classes, but with 
fop classes. Both org.apache.fop.messaging.MessageHandler and 
org.apache.fop.apps.Driver are obviously fop classes.

Joerg

On 04.05.2004 01:41, David Browning wrote:

> Hi
> 
> Sorry to repost this, but I am struggling.
> 
> I get the following errors:
> 
> fop-compile:
> Compiling 1 source file to
> C:\cocoon-2.1.4\build\cocoon-2.1.4\blocks\fop\dest
> C:\cocoon-2.1.4\src\blocks\fop\java\org\apache\cocoon\serialization\FOPSerializer.java:154:
> cannot resolve symbol
> symbol  : method setScreenLogger
> (org.apache.avalon.framework.logger.Logger)
> location: class
> org.apache.fop.messaging.MessageHandler
>         MessageHandler.setScreenLogger(this.logger);
>                       ^
> C:\cocoon-2.1.4\src\blocks\fop\java\org\apache\cocoon\serialization\FOPSerializer.java:263:
> cannot resolve symbol
> symbol  : method setLogger
> (org.apache.avalon.framework.logger.Logger)
> location: class org.apache.fop.apps.Driver
>         this.driver.setLogger(this.logger);
>         ^
> 2 errors
> 
> BUILD FAILED
> C:\cocoon-2.1.4\tools\targets\compile-build.xml:157:
> Following error occured while executing this line
> C:\cocoon-2.1.4\build\cocoon-2.1.4\temp\blocks-build.xml:504:
> Following error occured while executing this line
> C:\cocoon-2.1.4\build\cocoon-2.1.4\temp\blocks-build.xml:546:
> Compile failed; see the compiler error output for
> details.
> 
> I am using JDK1.4.2 on an XP box. The Avalon Framework
> jar (4.1.4) in the core sub-dir seems OK.
> 
> I would much appreciate any help or suggestions.
> 
> Many thanks
> 
> David

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