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 Garry Fisher <gf...@astech.uk.com> on 2000/07/26 16:59:19 UTC

Compile problem

I get the following message when trying to comple the latest CVS source.

prepare-src:
  [copydir] Copying 141 files to G:\FOPNEW\xml-fop\build\src

compile:
Compiling the sources
    [mkdir] Created dir: G:\FOPNEW\xml-fop\build\classes
    [javac] Compiling 249 source files to G:\FOPNEW\xml-fop\build\classes
    [javac]
G:\FOPNEW\xml-fop\build\src\org\apache\fop\apps\AWTCommandLine.java:9: Class
org.apache.fop.messaging.MessageHand
ler not found in import.

does anybody know what is causing this error and how it can be solved.



Compile problem

Posted by Garry Fisher <gf...@astech.uk.com>.
I get the following message when trying to comple the latest CVS source, I
think I may be using the wrong version of JAXP because the attributes class
in org.xml.sax.Attributes that I have does not have a getQName method, could
somebody please confirm that this is the problem and let me know which
version of JAXP I should be using if this is the problem.

compile:
Compiling the sources
    [javac] Compiling 2 source files to G:\FOPNEW\xml-fop\build\classes
    [javac]
G:\FOPNEW\xml-fop\build\src\org\apache\fop\fo\FOTreeBuilder.java:200: Method
getQName(int) not found in interface
 org.xml.sax.Attributes.
    [javac]         String att = attlist.getQName(i);
    [javac]                                      ^
    [javac]
G:\FOPNEW\xml-fop\build\src\org\apache\fop\fo\PropertyListBuilder.java:263:
Method getQName(int) not found in int
erface org.xml.sax.Attributes.
    [javac]         String attributeName = attributes.getQName(i);
    [javac]                                                   ^
    [javac] 2 errors

BUILD FAILED




Re: Compile problem

Posted by Fotis Jannidis <fo...@lrz.uni-muenchen.de>.
Send reply to:  	fop-dev@xml.apache.org
From:           	"Garry Fisher" <gf...@astech.uk.com>
To:             	"Fop-Dev" <fo...@xml.apache.org>
Subject:        	Compile problem
Date sent:      	Wed, 26 Jul 2000 15:59:19 +0100

> I get the following message when trying to comple the latest CVS source.
> 
> prepare-src:
>   [copydir] Copying 141 files to G:\FOPNEW\xml-fop\build\src
> 
> compile:
> Compiling the sources
>     [mkdir] Created dir: G:\FOPNEW\xml-fop\build\classes
>     [javac] Compiling 249 source files to G:\FOPNEW\xml-fop\build\classes
>     [javac]
> G:\FOPNEW\xml-fop\build\src\org\apache\fop\apps\AWTCommandLine.java:9: Class
> org.apache.fop.messaging.MessageHand
> ler not found in import.
> 
> does anybody know what is causing this error and how it can be solved.

Please check, whether the directory  org.apache.fop.messaging with its content is in 
your fop source tree. If not, maybe you have forgotten to update with option -d , well, at 
least I do sometimes forget it.
Fotis