forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: forrest on jdk 1.3.1
Date Mon, 25 Nov 2002 16:37:11 GMT
On Mon, Nov 25, 2002 at 10:47:57AM -0500, Andrew C. Oliver wrote:
> Okay so Java is now installed on icarus (JAVA_HOME=/usr/local/jdk1.3.1) 
> aka cvs.apache.org.  
> I set my JAVA_HOME, did a clean checkout of xml-forrest, tried to 
> build... got this:
> 
> acoliver@icarus-xml-forrest :./build.sh compile

Forrest's build.xml doesn't have a 'compile' target.

> Using classpath: 
> "./lib/endorsed/xalan-2.3.1.jar;./lib/endorsed/xercesImpl-2.1.0
> .jar;./lib/endorsed/xml-apis.jar;./lib/endorsed/xsltc-20020723.jar"
> Buildfile: build.xml
> 
> BUILD FAILED
> Unable to load default ProjectHelper due to 
> java.lang.NoClassDefFoundError: org/
> xml/sax/SAXException

Running ./build.sh in xml-forrest works for me on icarus.

Trying to generate the docs ('./build.sh site') lands up with broken PDFs:

Setup... done.
Initializing... ready, let's go :-)
java.lang.NoClassDefFoundError: java/awt/Rectangle
        at org.apache.fop.layout.LineArea.addSpacedWord(Unknown Source)
        at org.apache.fop.layout.LineArea.addText(Unknown Source)
        at org.apache.fop.fo.FOText.addRealText(Unknown Source)
        at org.apache.fop.fo.FOText.addText(Unknown Source)
        at org.apache.fop.fo.FOText.layout(Unknown Source)
        at org.apache.fop.fo.flow.BasicLink.layout(Unknown Source)
        at org.apache.fop.fo.flow.Block.layout(Unknown Source)
        at org.apache.fop.fo.flow.Block.layout(Unknown Source)
        at org.apache.fop.fo.flow.Flow.layout(Unknown Source)
        at org.apache.fop.fo.flow.Flow.layout(Unknown Source)
        at org.apache.fop.fo.pagination.PageSequence.format(Unknown Source)
        at org.apache.fop.apps.StreamRenderer.render(Unknown Source)
        at org.apache.fop.fo.FOTreeBuilder.endElement(Unknown Source)
        at org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java:147)
        at org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java:147)
        at org.apache.cocoon.xml.xlink.XLinkPipe.endElement(XLinkPipe.java:246)
        at org.apache.cocoon.components.sax.XMLTeePipe.endElement(XMLTeePipe.java:124)
        at org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeHandler.java:307)
        at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:716)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2243)
        at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2069)
        at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1171)
        at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3196)
        at java.lang.Thread.run(Thread.java:484)
 * [46] index.html
 * [0] skin/page.css
 * [0] skin/images/spacer.gif
 * [0] skin/breadcrumbs.js
...

However everything else works if PDFs are disabled with:

Index: src/resources/conf/sitemap.xmap
===================================================================
RCS file: /home/cvs/xml-forrest/src/resources/conf/sitemap.xmap,v
retrieving revision 1.38
diff -r1.38 sitemap.xmap
117c117
<      <map:parameter name="nopdf" value="{nopdf}"/>
---
>      <map:parameter name="nopdf" value="true"/>



--Jeff

Mime
View raw message