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=18985>.
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=18985

PDFGraphicsConfiguration  error on build

           Summary: PDFGraphicsConfiguration  error on build
           Product: Ant
           Version: unspecified
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Build Process
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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.

Reply via email to