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 bu...@apache.org on 2003/04/14 08:31:42 UTC

DO NOT REPLY [Bug 18986] New: - PDFGraphicsConfiguration error on build?

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18986>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18986

PDFGraphicsConfiguration error on build?

           Summary: PDFGraphicsConfiguration error on build?
           Product: Fop
           Version: 0.20.4
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: general
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: ozhan@mds.rmit.edu.au


Hi,

I am getting the following build error while trying to compile FOP. I haven't 
made any changes to the core code. It's the first time compiling.

Regards,
Ozhan

----

compile:
     [echo] Compiling the sources 
    [javac] Compiling 439 source files to /home/test/FOP/source/fop-
0.20.4/build/classes
    [javac] Note: sun.tools.javac.Main has been deprecated.
    [javac] /home/test/FOP/source/fop-
0.20.4/build/src/org/apache/fop/svg/PDFGraphics2D.java:1199: nested class 
org.apache.fop.svg.PDFGraphics2D. PDFGraphicsConfiguration is an abstract 
class. It can't be instantiated.
    [javac]         return new PDFGraphicsConfiguration();
    [javac]                ^
    [javac] /home/test/FOP/source/fop-
0.20.4/build/src/org/apache/fop/svg/PDFGraphics2D.java:1206: nested class 
org.apache.fop.svg.PDFGraphics2D. PDFGraphicsConfiguration must be declared 
abstract. It does not define java.awt.image.VolatileImage 
createCompatibleVolatileImage(int, int) from class 
java.awt.GraphicsConfiguration.
    [javac]     static class PDFGraphicsConfiguration extends 
GraphicsConfiguration {
    [javac]                  ^
    [javac] 2 errors, 1 warning

BUILD FAILED

/home/test/FOP/source/fop-0.20.4/build.xml:579: Compile failed, messages should 
have been provided.

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