You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Nicola Ken Barozzi <ni...@apache.org> on 2003/03/21 16:41:55 UTC

Cocoon build fails on HEAD FOP

Hi guys :-)

At Cocoon we've gotten Gump working again, and our FOP stuff seems to be 
broken WRT the fop HEAD.

What should we do, given that we want to release a beta in short term 
with a non-head fop jar? Could you readd that stuff and @deprecate it?

Thanks.

Some context:


 > Vadim Gritsenko wrote:

...
 > But, If they have documented (http://xml.apache.org/fop/embedding.html)
 > the use of the Options class, they should be aware that users are not
 > like computers, i.e. they need time to understand changes, plan for
 > migration and migrate.
 >
 > They could keep them in HEAD, and have them in the first 1.0 release,
 > deprecated. Or, alternatively, a "fop-020-compatibility.jar" could be
 > kept in HEAD with impls of those missing classes, to ease migration.
 > This would bring the extra added value of having users able to test the
 > new stuff without having to change code, while keeping them conscious
 > that they are relying on deprecated, dangerous stuff.
 >
 > I think (I'm not sure) this is the approach Avalon is taking.
 >
 > The good thing about gump is that it makes us aware of such stuff much
 > in advance.


Gump@icarus.apache.org wrote, On 21/03/2003 11.26:
> ----------------------------------------------------
> This email is autogenerated from the output from:
> <http://cvs.apache.org/builds/gump/2003-03-21/cocoon-block-fop.html>
> ----------------------------------------------------
...
> fop-prepare:
>     [mkdir] Created dir: /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/blocks/fop/dest
>     [mkdir] Created dir: /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/blocks/fop/conf
>      [copy] Copying 1 file to /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/blocks/fop/conf
> 
> fop-compile:
>     [javac] Compiling 3 source files to /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/blocks/fop/dest
>     [javac] /home/rubys/jakarta/cocoon-2.1/src/blocks/fop/java/org/apache/cocoon/serialization/FOPSerializer.java:70: cannot resolve symbol
>     [javac] symbol  : class Options 
>     [javac] location: package apps
>     [javac] import org.apache.fop.apps.Options;
>     [javac]                            ^
>     [javac] /home/rubys/jakarta/cocoon-2.1/src/blocks/fop/java/org/apache/cocoon/serialization/FOPSerializer.java:71: package org.apache.fop.messaging does not exist
>     [javac] import org.apache.fop.messaging.MessageHandler;
>     [javac]                                 ^
>     [javac] /home/rubys/jakarta/cocoon-2.1/src/blocks/fop/java/org/apache/cocoon/serialization/FOPSerializer.java:73: package org.apache.fop.configuration does not exist
>     [javac] import org.apache.fop.configuration.ConfigurationParser;
>     [javac]                                     ^
>     [javac] /home/rubys/jakarta/cocoon-2.1/src/blocks/fop/java/org/apache/cocoon/serialization/FOPSerializer.java:148: cannot resolve symbol
>     [javac] symbol  : variable MessageHandler 
>     [javac] location: class org.apache.cocoon.serialization.FOPSerializer
>     [javac]         MessageHandler.setScreenLogger(this.logger);
>     [javac]         ^
>     [javac] /home/rubys/jakarta/cocoon-2.1/src/blocks/fop/java/org/apache/cocoon/serialization/FOPSerializer.java:159: cannot resolve symbol
>     [javac] symbol  : class Options 
>     [javac] location: class org.apache.cocoon.serialization.FOPSerializer
>     [javac]                     new Options();
>     [javac]                         ^
>     [javac] /home/rubys/jakarta/cocoon-2.1/src/blocks/fop/java/org/apache/cocoon/serialization/FOPSerializer.java:195: cannot resolve symbol
>     [javac] symbol  : class ConfigurationParser 
>     [javac] location: class org.apache.cocoon.serialization.FOPSerializer
>     [javac]                 SourceUtil.toSAX(configSource, new ConfigurationParser());
>     [javac]                                                    ^
>     [javac] /home/rubys/jakarta/cocoon-2.1/src/blocks/fop/java/org/apache/cocoon/serialization/FOPSerializer.java:253: cannot resolve symbol
>     [javac] symbol  : method setLogger (org.apache.avalon.framework.logger.Logger)
>     [javac] location: class org.apache.fop.apps.Driver
>     [javac]         this.driver.setLogger(this.logger);
>     [javac]         ^
>     [javac] 7 errors
> 
> BUILD FAILED
> file:///home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/temp/blocks-build.xml:186: Compile failed; see the compiler error output for details.
> 
> Total time: 6 seconds


-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------