On 06.06.2005 13:02:29 Kevin wrote:
> Hi,
> I do the code generating indeed. And all files in build/gensrc are:
> |-build
>  |-gensrc
>   |-org
>    |-apache
>      |-fop
>        |-fonts
>          |-CodePointMapping.java
>          |-base14
>            |-Courier.java
>            |-CourierBold.java
>            |-CourierBoldOblique.java
>            |-CourierOblique.java
>            |-Helvetica.java
>            |-HelveticaBold.java
>            |-HelveticaBoldOblique.java
>            |-HelveticaOblique.java
>            |-Symbol.java
>            |-TimesBold.java
>            |-TimesBoldItalic.java
>            |-TimesItalic.java
>            |-TimesRoman.java
>            |-ZapfDingbats.java
> I add these files to the corresponding src/java/org/apache/fop/fonts, and
> src/java-1.4/org/apache/fop/svg/GraphicsConfiguration.java (my jdk version
> is 1.4) to the corresponding src/java/org/apache/fop/svg/. These files plus
> with the original files in src/java/ form my JBuilder project source files.
> And I include xercesImpl-2.2.1.jar, xalan-2.4.1.jar, xml-apis.jar,
> batik.jar, avalon-framework-4.1.4.jar, commons-logging-1.0.3.jar, and
> commons-io-1.0.jar in lib/ as my project lib.

I wouldn't copy files around. The directory layout was set up so stuff
like that shouldn't be necessary as most modern Java IDEs support
multiple source directories. Simply check out the CVS HEAD sources and
add the following directories as source directories:

src/java
src/java-1.4
build/gensrc

The libraries you added are probably ok. There are a few optional
libraries, however, which are needed by some classes (JIMI, JAI etc.).
But you can probably work around that.

> And the following is my build error with JBuilder9:
> "Marker.java": cyclic inheritance involving org.apache.fop.fo.FObjMixed at
> line 40, column 29

That's really strange. I can only explain it by your copying of the
source files. I'd take a step back and do a clean checkout again.

> "RetrieveMarker.java": cannot resolve symbol: class FObjMixed in class
> org.apache.fop.fo.flow.RetrieveMarker at line 46, column 37
<snip/>

> BTW: the page: http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide is a
> blank page, why?

I've seen that, too, but on other Wiki pages. I think the infrastructure
guys are experimenting with a server-side page cache which doesn't work.
Try displaying the page in IE instead of Firefox, or vice-versa. That
helped me.

> Thank you for replying my question.

Glad to help. :-)

Jeremias Maerki

Reply via email to