forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clay Leeds <cle...@medata.com>
Subject Re: xml-fop Build Failed
Date Tue, 19 Oct 2004 05:52:54 GMT
Just when you thought it was safe...

On Aug 3, 2004, at 4:09 PM, Dave Brondsema wrote:
> The sitemap.xmap is no longer necessary, forrest provides a default  
> one which works fine.  .fo files aren't needed in the raw directories.
>
> cd src/documentation
> rm sitemap.xmap
> cd content
> find fo/ dev/ -name *.fo | xargs rm
>
> But the embed.fo doesn't work with forrest.  So..
>
> mv xdocs/fo/embed.fo fo/embed.fo
> mv xdocs/dev/fo/embed* dev/fo/
>
> And then manually generate the pdfs that correspond.
>
> BUILD SUCCESSFUL

I'm getting an exception when I try to build xml-fop.

I attempted to follow the above instructions, although I had to do a  
little workaround to get it to work:

1. I used my CVS GUI to do a /cvs co https://... xml-fop/
2. I extracted the xml-fop xdocs/* files from the 'xml-fop_new.zip'  
file[1] into a temporary directory.
3. I followed Dave's instructions (above)
4. I then manually copied (I must be a masochist) each of the xml-fop  
xdocs files from the 'xml-fop_new.zip' file[1] into my xml-fop /cvs co  
https://... xml-fop/ dir.

And the stack dump below shows where I stopped.

Web Maestro Clay

[1]
http://homepage.mac.com/webmaestro/xml-fop/xml-fop_new.zip

Here's the stack dump:

[clay@Web-Maestro-Mac xml-fop]$ forrest
Apache Forrest.  Run 'forrest -projecthelp' to list options

Buildfile:  
/Users/Shared/_WebDLs/_repos/forrest/src/core/forrest.build.xml

init-props:
Loading project specific properties from  
/Users/Shared/_WebDLs/_repos/xml-fop/forrest.properties
Loading user specific properties from /Users/clay/forrest.properties
Loading default properties from  
/Users/Shared/_WebDLs/_repos/forrest/src/core/context/default- 
forrest.properties

echo-settings:

check-skin:

fetch-skins-descriptors:

fetch-skin:

unpack-skins:

init-skins:

init:

-prepare-classpath:

check-contentdir:

examine-proj:

validation-props:

validate-xdocs:
90 file(s) have been successfully validated.
...validated xdocs

validate-skinconf:
1 file(s) have been successfully validated.
...validated skinconf

validate-sitemap:
...validated sitemap

validate-skins-stylesheets:

validate-skins:

validate-skinchoice:
...validated existence of skin 'pelt'

validate-stylesheets:

validate:

site:
Deleting directory  
/Users/Shared/_WebDLs/_repos/xml-fop/build/tmp/cocoon-work
Created dir: /Users/Shared/_WebDLs/_repos/xml-fop/build/tmp/cocoon-work

Copying the various non-generated resources to site.
Warnings will be issued if the optional project resources are not found.
This is often the case, because they are optional and so may not be  
available.
Copying project resources and images to site ...
Warning: /Users/Shared/_WebDLs/_repos/xml-fop/build/webapp/resources  
not found.
Copying 25 files to /Users/Shared/_WebDLs/_repos/xml-fop/build/site
Copying main skin images to site ...
Copying 21 files to  
/Users/Shared/_WebDLs/_repos/xml-fop/build/site/skin/images
Copying 13 files to  
/Users/Shared/_WebDLs/_repos/xml-fop/build/site/skin/images
Copying project skin images to site ...
Warning:  
/Users/Shared/_WebDLs/_repos/xml-fop/src/documentation/skins/common/ 
images not found.
Warning:  
/Users/Shared/_WebDLs/_repos/xml-fop/src/documentation/skins/pelt/ 
images not found.
Copying main skin css and js files to site ...
Copying 8 files to /Users/Shared/_WebDLs/_repos/xml-fop/build/site/skin
Copying 6 files to /Users/Shared/_WebDLs/_repos/xml-fop/build/site/skin
Copying project skin css and js files to site ...
Warning:  
/Users/Shared/_WebDLs/_repos/xml-fop/src/documentation/skins/common not  
found.
Warning:  
/Users/Shared/_WebDLs/_repos/xml-fop/src/documentation/skins/pelt not  
found.
Finished copying the non-generated resources.
Now Cocoon will generate the rest ...

Static site will be generated at:
/Users/Shared/_WebDLs/_repos/xml-fop/build/site

Note that there are various reasons for "build failed" messages.
* Cocoon will report the status of each document:
   - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ).
* Even if only one link is broken, you will still get "failed".
* Your site would still be generated, but some pages would be broken.
* Please check the file:
/Users/Shared/_WebDLs/_repos/xml-fop/build/tmp/brokenlinks.xml
for any broken links in the generated site.
------------------------------------------------------------------------
cocoon 2.2.0-dev
Copyright (c) 1999-2004 Apache Software Foundation. All rights reserved.
------------------------------------------------------------------------


Cannot find CatalogManager.properties
^                                    dev/
^                                    design/
^                                    design/alt.design/
* [1/80]    [80/83]   13.2s  20.7Kb  linkmap.html
* [2/80]    [1/27]    1.894s 11.1Kb  design/alt.design/coroutines.html
* [3/79]    [0/30]    1.185s 21.0Kb  design/breakpos.html
* [4/78]    [0/44]    1.081s 8.6Kb   logocontest.html
* [5/77]    [0/0]     0.951s 2.3Kb   skin/basic.css
* [6/76]    [0/45]    1.825s 11.2Kb  extensions.html
* [7/75]    [0/30]    1.032s 10.5Kb  design/images.html
* [8/75]    [1/27]    0.954s 13.2Kb  dev/implement.html
* [9/80]    [6/23]    0.895s 11.4Kb   
design/alt.design/properties/introduction.html
* [10/79]   [0/47]    0.907s 11.9Kb  configuration.html
* [11/78]   [0/30]    1.683s 15.1Kb  design/renderers.html
* [12/77]   [0/27]    0.979s 12.7Kb  dev/fonts.html
* [13/76]   [0/43]    0.885s 9.7Kb   todo.html
* [15/86]   [12/40]   0.924s 11.7Kb  dev/svg.html
X [0]                                     dev/svg/paints.pdf    BROKEN:  
org.apache.fop.apps.FOPException: No flow in page-sequence
* [17/84]   [0/23]    7.319s 5.0Kb    
design/alt.design/properties/PropertyConsts-class.html
* [18/83]   [0/30]    0.848s 8.4Kb   design/pdf-library.html
* [19/82]   [0/27]    0.862s 18.8Kb  dev/conventions.html
X [0]                                     dev/svg/transparency.pdf       
BROKEN: org.apache.fop.apps.FOPException: No flow in page-sequence
* [21/83]   [3/30]    0.829s 12.2Kb  design/alt.design/footnotes.html
* [22/82]   [0/27]    1.663s 18.3Kb  dev/doc.html
* [23/81]   [0/49]    0.845s 19.0Kb  running.html
* [24/80]   [0/0]     0.253s 1.0Kb   skin/print.css
* [26/78]   [0/29]    1.055s 23.3Kb  dev/rtflib.html
* [27/77]   [0/26]    1.136s 17.5Kb  design/alt.design/traits.html
* [28/76]   [0/30]    0.708s 8.9Kb   design/useragent.html
* [29/75]   [0/44]    1.741s 17.2Kb  servlets.html
* [30/74]   [0/44]    0.777s 9.6Kb   download.html
* [31/73]   [0/32]    1.162s 9.2Kb   dev/faq.html
* [32/72]   [0/0]     0.411s 108.9Kb dev/fo/embedding.fo
* [33/71]   [0/43]    0.723s 10.8Kb  compiling.html
* [34/70]   [0/26]    0.535s 5.6Kb   design/alt.design/xml-parsing.html
X [0]                                     dev/svg/link.pdf      BROKEN:  
org.apache.fop.apps.FOPException: No flow in page-sequence
* [38/66]   [0/46]    1.751s 23.3Kb  graphics.html
* [39/65]   [0/30]    1.313s 26.3Kb  design/properties.html
* [40/76]   [12/12]   0.77s  10.9Kb  skin/screen.css
* [42/74]   [0/0]     6.505s 161b     
skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png
* [43/73]   [0/0]     0.272s 161b     
skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png
* [45/71]   [0/0]     0.503s 168b     
skin/images/rc-t-r-15-1body-2menu-3menu.png
* [46/70]   [0/0]     0.271s 161b     
skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png
* [47/73]   [4/48]    0.987s 10.7Kb  index.html
* [49/71]   [0/43]    1.093s 18.8Kb  team.html
* [50/70]   [0/23]    0.657s 5.0Kb    
design/alt.design/properties/enumerated-values.html
* [52/68]   [0/44]    1.274s 11.9Kb  news.html
* [53/67]   [0/23]    0.588s 5.0Kb    
design/alt.design/properties/propertyExpressions.html
* [54/66]   [0/30]    2.222s 9.8Kb   design/extending.html
* [55/65]   [0/43]    0.943s 14.0Kb  anttask.html
* [56/64]   [0/26]    0.82s  13.0Kb   
design/alt.design/compound-properties.html
* [58/62]   [0/43]    1.436s 18.0Kb  resources.html
* [59/61]   [0/30]    0.763s 6.8Kb   design/startup.html
* [60/60]   [0/30]    0.808s 15.2Kb  dev/tools.html
* [62/59]   [1/30]    1.931s 15.7Kb  design/alt.design/galleys.html
* [64/57]   [0/32]    0.761s 14.3Kb  design/fotree.html
* [65/56]   [0/43]    4.258s 6.8Kb   compliance.html
* [66/55]   [0/35]    0.91s  13.8Kb  design/index.html
* [67/54]   [0/30]    0.89s  9.1Kb   design/embedding.html
* [68/53]   [0/0]     0.23s  168b     
skin/images/rc-b-l-15-1body-2menu-3menu.png
* [69/52]   [0/26]    4.77s  41.4Kb   
design/alt.design/user-agent-refs.html
* [70/51]   [0/30]    1.622s 7.2Kb   design/optimise.html
* [72/49]   [0/29]    0.676s 9.6Kb   dev/extensions.html
X [0]                                     dev/svg/paints.svg    BROKEN:  
/Users/Shared/_WebDLs/_repos/xml-fop/src/documentation/content/xdocs/ 
dev/svg/paints.xml (No such file or directory)
* [74/47]   [0/0]     0.2s   161b     
skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png
X [0]                                     dev/svg/text.svg      BROKEN:  
/Users/Shared/_WebDLs/_repos/xml-fop/src/documentation/content/xdocs/ 
dev/svg/text.xml (No such file or directory)
X [0]                                     dev/svg/images.svg    BROKEN:  
/Users/Shared/_WebDLs/_repos/xml-fop/src/documentation/content/xdocs/ 
dev/svg/images.xml (No such file or directory)
* [77/44]   [0/27]    0.803s 12.5Kb  dev/testing.html
* [78/43]   [0/46]    0.915s 22.4Kb  hyphenation.html
* [79/42]   [0/43]    0.701s 9.5Kb   bugs.html
* [80/41]   [0/43]    0.905s 21.5Kb  fonts.html
* [81/40]   [0/0]     0.317s 1.2Kb   skin/profile.css
* [82/39]   [0/30]    1.645s 9.4Kb   design/svg.html
* [83/38]   [0/27]    0.798s 10.9Kb  dev/release.html
X [0]                                     dev/svg/link.svg      BROKEN:  
/Users/Shared/_WebDLs/_repos/xml-fop/src/documentation/content/xdocs/ 
dev/svg/link.xml (No such file or directory)
* [87/35]   [1/44]    0.822s 14.6Kb  status.html
* [89/33]   [0/0]     0.17s  161b     
skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png
* [90/32]   [0/0]     0.608s 0b      dev/fo/embedding.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.cocoon.environment.internal.EnvironmentChanger.endElement(Env 
ironmentStack.java:147)
         at  
org.apache.cocoon.components.sax.XMLTeePipe.endElement(XMLTeePipe.java: 
89)
         at  
org.apache.cocoon.components.sax.XMLByteStreamInterpreter.parse(XMLByteS 
treamInterpreter.java:100)
         at  
org.apache.cocoon.components.sax.XMLByteStreamInterpreter.deserialize(XM 
LByteStreamInterpreter.java:73)
         at  
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipe 
line.processXMLPipeline(AbstractCachingProcessingPipeline.java:218)
         at  
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process 
(AbstractProcessingPipeline.java:685)
         at  
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSour 
ce.java:352)
         at  
org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java: 
206)
         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.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)
^C[clay@Web-Maestro-Mac xml-fop]$

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