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 IvanLatysh <iv...@yourmail.com> on 2002/05/29 17:48:13 UTC

FOP 0.20.3 doesn't build

Hi.

I am trying to compile FOP 0.20.3 (Windows, Linux RH - same result )

I am getting this exception:
     [echo] Compiling the sources
    [javac] Compiling 310 source files to /home/ivan/fop/fop-0.20.3/build/classes
    [javac] Note: sun.tools.javac.Main has been deprecated.
    [javac] /home/ivan/fop/fop-0.20.3/build/src/org/apache/fop/svg/PDFGraphics2D.java:1167:
nested c
lass org.apache.fop.svg.PDFGraphics2D. PDFGraphicsConfiguration is an abstract class. It can't
be in
stantiated.
    [javac]         return new PDFGraphicsConfiguration();
    [javac]                ^
    [javac] /home/ivan/fop/fop-0.20.3/build/src/org/apache/fop/svg/PDFGraphics2D.java:1174:
nested c
lass org.apache.fop.svg.PDFGraphics2D. PDFGraphicsConfiguration must be declared abstract. It
does n
ot define java.awt.image.VolatileImage createCompatibleVolatileImage(int, int) from class
java.awt.G
raphicsConfiguration.
    [javac]     static class PDFGraphicsConfiguration extends GraphicsConfiguration {
    [javac]                  ^
    [javac] 2 errors, 1 warning

java -version
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

Sincerely yours, Ivan Latysh.
Ivan@yourmail.com
http://ivan.yourmail.com


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


Re: FOP 0.20.3 doesn't build

Posted by Keiron Liddle <ke...@aftexsw.com>.
On Wed, 2002-05-29 at 17:48, IvanLatysh wrote:
> Hi.
> 
> I am trying to compile FOP 0.20.3 (Windows, Linux RH - same result )

> java -version
> java version "1.4.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
> Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

Due to an API change in jdk1.4 we cannot make it compile for both jdk1.3
and jdk1.4.
The method is there but you need to uncomment it in the source.

Maybe we could use ant to deal with this?


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