You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Simon Pepping <sp...@leverkruid.nl> on 2005/09/05 21:02:16 UTC

Build error

Hi,

I get a build error:

    [javac] Compiling 653 source files to /fsb/fsc/source/xml-fop/build/classes
    [javac] /fsb/fsc/source/xml-fop/src/java/org/apache/fop/render/ps/PSFontUtils.java:166: cannot resolve symbol
    [javac] symbol  : method copy (org.apache.fop.util.SubInputStream,org.apache.fop.util.ASCIIHexOutputStream)
    [javac] location: class org.apache.commons.io.IOUtils
    [javac]                     IOUtils.copy(sin, hexOut);
    [javac]                            ^
    [javac] 1 error

BUILD FAILED

How can I solve this?

Simon

-- 
Simon Pepping
home page: http://www.leverkruid.nl


Re: Build error

Posted by Simon Pepping <sp...@leverkruid.nl>.
On Mon, Sep 05, 2005 at 11:14:09PM +0200, Jeremias Maerki wrote:
> Weird, why does it want Service? I've added SubInputStream and all runs
> through.

Thanks. I do not mean that it requires Service. I mean that those two
classes are in util and not in the transcoder jars.

Simon

> On 05.09.2005 22:17:41 Simon Pepping wrote:
> > On Mon, Sep 05, 2005 at 09:21:09PM +0200, Jeremias Maerki wrote:
> > > You can't, I can. My fault, sorry.
> > > http://svn.apache.org/viewcvs?rev=278816&view=rev
> > 
> > Thanks, that works. Another error, in junit:
> > 
> >     [junit] Testcase: testGenericPDFTranscoder(org.apache.fop.BasicPSTranscoderTestCase):	Caused an ERROR
> >     [junit] org/apache/fop/util/SubInputStream
> >     [junit] java.lang.NoClassDefFoundError: org/apache/fop/util/SubInputStream
> > 
> > Indeed, fop-transcoder.jar and fop-transcoder-allinone.jar do not
> > contain Service and SubInputStream in the util package.
> > 
> > Simon
> > 
> > -- 
> > Simon Pepping
> > home page: http://www.leverkruid.nl
> 
> 
> 
> Jeremias Maerki
> 

-- 
Simon Pepping
home page: http://www.leverkruid.nl


Re: Build error

Posted by Jeremias Maerki <de...@greenmail.ch>.
Weird, why does it want Service? I've added SubInputStream and all runs
through.

On 05.09.2005 22:17:41 Simon Pepping wrote:
> On Mon, Sep 05, 2005 at 09:21:09PM +0200, Jeremias Maerki wrote:
> > You can't, I can. My fault, sorry.
> > http://svn.apache.org/viewcvs?rev=278816&view=rev
> 
> Thanks, that works. Another error, in junit:
> 
>     [junit] Testcase: testGenericPDFTranscoder(org.apache.fop.BasicPSTranscoderTestCase):	Caused an ERROR
>     [junit] org/apache/fop/util/SubInputStream
>     [junit] java.lang.NoClassDefFoundError: org/apache/fop/util/SubInputStream
> 
> Indeed, fop-transcoder.jar and fop-transcoder-allinone.jar do not
> contain Service and SubInputStream in the util package.
> 
> Simon
> 
> -- 
> Simon Pepping
> home page: http://www.leverkruid.nl



Jeremias Maerki


Re: Build error

Posted by Simon Pepping <sp...@leverkruid.nl>.
On Mon, Sep 05, 2005 at 09:21:09PM +0200, Jeremias Maerki wrote:
> You can't, I can. My fault, sorry.
> http://svn.apache.org/viewcvs?rev=278816&view=rev

Thanks, that works. Another error, in junit:

    [junit] Testcase: testGenericPDFTranscoder(org.apache.fop.BasicPSTranscoderTestCase):	Caused an ERROR
    [junit] org/apache/fop/util/SubInputStream
    [junit] java.lang.NoClassDefFoundError: org/apache/fop/util/SubInputStream

Indeed, fop-transcoder.jar and fop-transcoder-allinone.jar do not
contain Service and SubInputStream in the util package.

Simon

-- 
Simon Pepping
home page: http://www.leverkruid.nl


Re: Build error

Posted by Jeremias Maerki <de...@greenmail.ch>.
You can't, I can. My fault, sorry.
http://svn.apache.org/viewcvs?rev=278816&view=rev

On 05.09.2005 21:02:16 Simon Pepping wrote:
> Hi,
> 
> I get a build error:
> 
>     [javac] Compiling 653 source files to /fsb/fsc/source/xml-fop/build/classes
>     [javac] /fsb/fsc/source/xml-fop/src/java/org/apache/fop/render/ps/PSFontUtils.java:166: cannot resolve symbol
>     [javac] symbol  : method copy (org.apache.fop.util.SubInputStream,org.apache.fop.util.ASCIIHexOutputStream)
>     [javac] location: class org.apache.commons.io.IOUtils
>     [javac]                     IOUtils.copy(sin, hexOut);
>     [javac]                            ^
>     [javac] 1 error
> 
> BUILD FAILED
> 
> How can I solve this?



Jeremias Maerki