forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clay Leeds <cle...@medata.com>
Subject RAW files (was Re: xml-fop Build Failed)
Date Fri, 05 Nov 2004 18:52:33 GMT
This message is a re-post of problems experienced in the 'xml-fop Build  
Failed' thread[5], with discussion un-related to non-RAW files removed.

BUILD ERRORS
============
On another, related side note, I've tar'd up the sub-directories in  
src/documentation/content (except xdocs/ of course!). When running  
/forrest/ I get errors for each of the references to items in the fo/,  
dev/, dev/fo/, dev/svg, & design/ directories. However, if I un-tar  
them:

[clay@Clay-Leeds-Computer clay]$ ls -l  
"/Users/Shared/_WebDLs/_repos/xml-fop/src/documentation/content"
total 208
drwxrwxrwx    3 clay          102 Nov  1 13:36 CVS.sandboxinfo
drwxrwxrwx    4 clay          136 Oct 26 20:27 design
-rw-rw-rw-    1 clay        86225 Oct 29 15:22 design.tar.gz
drwxrwxrwx    5 clay          170 Oct 27 15:40 dev
-rw-rw-rw-    1 clay        85908 Oct 29 15:22 dev.tar.gz
drwxrwxrwx   15 clay          510 Oct 27 15:32 fo
-rw-rw-rw-    1 clay        33272 Oct 29 15:22 fo.tar.gz
drwxrwxrwx   39 clay         1326 Oct 27 14:39 xdocs

I get a Java dump error that complains about svg stuff:

====
Cannot find CatalogManager.properties
^                                    dev/
^                                    design/
^                                    design/alt.design/
* [1/82]    [82/85]   17.425s 21.7Kb  linkmap.html
* [2/84]    [3/30]    2.436s 12.3Kb  design/alt.design/coroutines.html
* [3/84]    [1/33]    1.652s 22.7Kb  design/breakpos.html
* [4/84]    [1/46]    1.255s 9.7Kb   logocontest.html
* [5/83]    [0/0]     0.905s 2.3Kb   skin/basic.css
* [6/83]    [1/47]    1.835s 12.5Kb  extensions.html
* [7/83]    [1/33]    1.344s 12.1Kb  design/images.html
* [8/82]    [0/0]     4.835s 9.1Kb   design/alt.design/coroutines.pdf
* [9/83]    [2/30]    1.246s 14.5Kb  dev/implement.html
* [10/89]   [7/26]    0.975s 12.9Kb   
design/alt.design/properties/introduction.html
* [11/89]   [1/49]    2.623s 13.5Kb  configuration.html
* [12/89]   [1/33]    1.604s 17.0Kb  design/renderers.html
* [13/89]   [1/30]    1.135s 14.1Kb  dev/fonts.html
* [14/88]   [0/0]     0.884s 14.1Kb  dev/fonts.pdf
* [15/88]   [1/45]    1.116s 10.7Kb  todo.html
* [16/87]   [0/0]     2.176s 5.9Kb   todo.pdf
* [18/98]   [13/43]   1.751s 12.8Kb  dev/svg.html
X [0]                                     dev/svg/paints.pdf    BROKEN:  
Can't find bundle for base name org.apache.fop.svg.resources.Messages,  
locale en_US
* [20/96]   [0/24]    0.666s 5.7Kb    
design/alt.design/properties/PropertyConsts-class.html
* [21/96]   [1/33]    1.228s 9.9Kb   design/pdf-library.html
* [22/95]   [0/0]     0.682s 0b      dev/fo/embedding.fo.pdf
Exception in thread "main" java.lang.NoSuchMethodError:  
org.apache.batik.bridge.UnitProcessor.createContext(Lorg/apache/batik/ 
bridge/BridgeContext;Lorg/w3c/dom/Element;)Lorg/apache/batik/util/ 
UnitProcessor$Context;
         at org.apache.fop.svg.SVGElement.layout(SVGElement.java:218)
         at  
org.apache.fop.fo.flow.InstreamForeignObject.layout(InstreamForeignObjec 
t.java:251)
         at org.apache.fop.fo.flow.Block.layout(Block.java:257)
         at  
org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154)
         at  
org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110)
         at  
org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java: 
400)
         at  
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338)
         at  
org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262)
         at  
org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223)
         at  
org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java: 
112)
         at  
org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java: 
112)
         at  
org.apache.cocoon.xml.xlink.XLinkPipe.endElement(XLinkPipe.java:211)
         at  
org.apache.cocoon.components.sax.XMLTeePipe.endElement(XMLTeePipe.java: 
89)
         at  
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
         at  
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown  
Source)
         at  
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis 
patcher.dispatch(Unknown Source)
         at  
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno 
wn Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown  
Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown  
Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown  
Source)
         at  
org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:296)
         at  
org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:315)
         at  
org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java: 
211)
         at  
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java: 
117)
         at  
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipe 
line.processXMLPipeline(AbstractCachingProcessingPipeline.java:235)
         at  
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process 
(AbstractProcessingPipeline.java:478)
         at  
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke( 
SerializeNode.java:134)
         at  
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode. 
invokeNodes(AbstractParentProcessingNode.java:54)
         at  
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.i 
nvoke(PreparableMatchNode.java:112)
         at  
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode. 
invokeNodes(AbstractParentProcessingNode.java:76)
         at  
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P 
ipelineNode.java:138)
         at  
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode. 
invokeNodes(AbstractParentProcessingNode.java:76)
         at  
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke( 
PipelinesNode.java:95)
         at  
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process 
(ConcreteTreeProcessor.java:298)
         at  
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process 
(ConcreteTreeProcessor.java:241)
         at  
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro 
cessor.java:238)
         at  
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(Moun 
tNode.java:111)
         at  
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode. 
invokeNodes(AbstractParentProcessingNode.java:76)
         at  
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(Sel 
ectNode.java:82)
         at  
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode. 
invokeNodes(AbstractParentProcessingNode.java:76)
         at  
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P 
ipelineNode.java:138)
         at  
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode. 
invokeNodes(AbstractParentProcessingNode.java:76)
         at  
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke( 
PipelinesNode.java:95)
         at  
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process 
(ConcreteTreeProcessor.java:298)
         at  
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process 
(ConcreteTreeProcessor.java:241)
         at  
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro 
cessor.java:238)
         at org.apache.cocoon.Cocoon.process(Cocoon.java:646)
         at  
org.apache.cocoon.bean.CocoonWrapper.getPage(CocoonWrapper.java:441)
         at  
org.apache.cocoon.bean.CocoonBean.processTarget(CocoonBean.java:493)
         at  
org.apache.cocoon.bean.CocoonBean.process(CocoonBean.java:354)
         at org.apache.cocoon.Main.main(Main.java:321)
====

SVG Transformations
===================
As stated above, I'm having problems with my svg transformations when  
the content/dev/svg/ directory exists (above core-dump) but when it  
doesn't exist, I get this error:

====
* [18/98]   [13/43]   2.089s 12.8Kb  dev/svg.html
X [0]                                     dev/svg/paints.pdf    BROKEN:  
Can't find bundle for base name org.apache.fop.svg.resources.Messages,  
locale en_US
====

FO Transformations
==================
Remove the above directories makes the error go away, but I get errors  
for each *.fo file transformed by Forrest:
====
X [0]                                     dev/fo/embedding.fo.pdf        
BROKEN:  
/Users/Shared/_WebDLs/_repos/xml-fop/src/documentation/content/dev/fo/ 
embedding.fo (No such file or directory)
====

As noted above, when this file exist (i.e., when content/ contains fo/  
& dev/fo/ directories) I get the above Java core dump error. This seems  
to be related to the java error core dump problem listed above. I  
suspect fixing that problem will help me fix this one as well.

I tried untar'ing those directories but *deleting* the content/dev/svg/  
directory, but it still gives a similar java core dump error:

* [22/95]   [0/0]     2.946s 0b      dev/fo/embedding.fo.pdf
Exception in thread "main" java.lang.NoSuchMethodError:  
org.apache.batik.bridge.UnitProcessor.createContext(Lorg/apache/batik/ 
bridge/BridgeContext;Lorg/w3c/dom/Element;)Lorg/apache/batik/util/ 
UnitProcessor$Context;
         at org.apache.fop.svg.SVGElement.layout(SVGElement.java:218)
         at  
org.apache.fop.fo.flow.InstreamForeignObject.layout(InstreamForeignObjec 
t.java:251)
         at org.apache.fop.fo.flow.Block.layout(Block.java:257)
         at  
org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154)
         at  
org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110)
         at  
org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java: 
400)
         at  
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338)
         at  
org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262)
         at  
org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223)
         at  
org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java: 
112)
         at  
org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java: 
112)
         at  
org.apache.cocoon.xml.xlink.XLinkPipe.endElement(XLinkPipe.java:211)
         at  
org.apache.cocoon.components.sax.XMLTeePipe.endElement(XMLTeePipe.java: 
89)
         at  
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
         at  
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown  
Source)
         at  
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis 
patcher.dispatch(Unknown Source)
         at  
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno 
wn Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown  
Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown  
Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown  
Source)
         at  
org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:296)
         at  
org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:315)
         at  
org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java: 
211)
         at  
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java: 
117)
         at  
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipe 
line.processXMLPipeline(AbstractCachingProcessingPipeline.java:235)
         at  
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process 
(AbstractProcessingPipeline.java:478)
         at  
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke( 
SerializeNode.java:134)
         at  
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode. 
invokeNodes(AbstractParentProcessingNode.java:54)
         at  
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.i 
nvoke(PreparableMatchNode.java:112)
         at  
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode. 
invokeNodes(AbstractParentProcessingNode.java:76)
         at  
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P 
ipelineNode.java:138)
         at  
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode. 
invokeNodes(AbstractParentProcessingNode.java:76)
         at  
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke( 
PipelinesNode.java:95)
         at  
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process 
(ConcreteTreeProcessor.java:298)
         at  
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process 
(ConcreteTreeProcessor.java:241)
         at  
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro 
cessor.java:238)
         at  
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(Moun 
tNode.java:111)
         at  
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode. 
invokeNodes(AbstractParentProcessingNode.java:76)
         at  
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(Sel 
ectNode.java:82)
         at  
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode. 
invokeNodes(AbstractParentProcessingNode.java:76)
         at  
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P 
ipelineNode.java:138)
         at  
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode. 
invokeNodes(AbstractParentProcessingNode.java:76)
         at  
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke( 
PipelinesNode.java:95)
         at  
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process 
(ConcreteTreeProcessor.java:298)
         at  
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process 
(ConcreteTreeProcessor.java:241)
         at  
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro 
cessor.java:238)
         at org.apache.cocoon.Cocoon.process(Cocoon.java:646)
         at  
org.apache.cocoon.bean.CocoonWrapper.getPage(CocoonWrapper.java:441)
         at  
org.apache.cocoon.bean.CocoonBean.processTarget(CocoonBean.java:493)
         at  
org.apache.cocoon.bean.CocoonBean.process(CocoonBean.java:354)
         at org.apache.cocoon.Main.main(Main.java:321)

[1]
http://forrest.apache.org/docs/your- 
project.html#adding_new_content_type_2
[2]
http://forrest.apache.org/docs/cap.html
[3]
http://cocoon.apache.org/2.1/userdocs/concepts/sitemap.html
[4]
http://forrest.apache.org/docs/upgrading_06.html#local-catalog

[5]
http://issues.apache.org/eyebrowse/ReadMsg? 
listName=dev@forrest.apache.org&msgNo=15153

Web Maestro Clay
-- 
Clay Leeds - <cleeds@medata.com>
Webmaster/Developer - Medata, Inc. - <http://www.medata.com/>
PGP Public Key: <https://mail.medata.com/pgp/cleeds.asc>


Mime
View raw message