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 Mon, 02 Aug 2004 17:59:30 GMT
On Aug 1, 2004, at 1:33 PM, Dave Brondsema wrote:
> Clay Leeds wrote:
>> After ensuring the *.fo & *.svg files were moved in the RAW-DIR   
>> src/documentation/resources[fo/|dev/fo/|dev/svg/], I updated my svn   
>> (actually it was a new checkout), copied sitemap.xmap from   
>> /forrest/src/core/context/sitemap.xmap, and applied the FOP ADDITIONS  
>>  (below). I still get BUILD FAILED errors. I've pasted my output  
>> below.
>> Web Maestro Clay
>> (snippet of xml-fop/../sitemap.xmap)
>
> With my recent change to the fo & pdf pipelines in Forrest, you can  
> keep the .fo files (except for the one that embeds something) in the  
> 'xdocs' directory.  Forrest can serve the .fo files directly from  
> there and will also render .pdf files from corresponding .fo files.

Cool. I've done that, and errors are minimized a bit... I feel like  
we're getting closer (again)... BTW, I disabled the Whole Site PDF/HTML  
feature hoping to minimize error output. (Another problem I've been  
getting has to do with generation of site.html & site.pdf but I'll  
tackle that after I have a SUCCESSFUL BUILD...).

Most of the errors I'm getting now, have to do with the fo=>pdf  
generation (e.g...):

* [36/61]   [11/51]   2.399s 13.3Kb  examples.html
X [0]                                     fo/size.pdf   BROKEN:  
Streaming of an internal pipeline is not possible with a reader.
X [0]                                     fo/fonts.pdf  BROKEN:  
Streaming of an internal pipeline is not possible with a reader.

> And since you are putting the svg files (and their rendered  
> counterparts, right?) in the raw dir, then there is no need for your  
> own sitemap.

Great! Now I just need to render those counterparts--which I can  
handle! heh! and put them in the raw dir.

> However if you do provide your own sitemap, you need to follow my  
> comment in  
> http://issues.cocoondev.org/jira/secure/ViewIssue.jspa?key=FOR-202 to  
> remove a pipeline to prevent this error.

I've done this so often, now I feel like it *should* be ingrained... Of  
course it gets clobbered every time I svn up... One of these days...

>> Cannot find CatalogManager.properties
>> Logging Error: Unknown error writing event.
>> java.lang.OutOfMemoryError
>> Logging Error: Unknown error writing event.
>> java.lang.OutOfMemoryError
>> Logging Error: Unknown error writing event.
>> java.lang.OutOfMemoryError
>> * [1/0]     [0/0]     262.352s 0b      index.html
>> Exception in thread "main" java.lang.OutOfMemoryError
>> java.lang.OutOfMemoryError
>> java.lang.OutOfMemoryError
>> java.lang.OutOfMemoryError
>> BUILD FAILED
>> /Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/targets/site.xml:57:  
>>  Java returned: 1
>> Total time: 8 minutes 49 seconds
>> [clay@Clays-TiBook xml-fop_new]$

Thanks again! I've attached my updated /forrest/ output below.

Before we get there, though, the newer xml-fop build is on my site[1].  
I also have a 6.4MB zip of the BUILD dir (which includes site/, tmp/, &  
webapp/)[2]. I'll be updating the logo with 'white' versions soon.

Finally, although the dev/svg/*.svg seem to have been successfully  
converted[3] (yay!) the *.fo files are having problems, (see the  
/forrest/ output below)...

> Dave Brondsema : dave@brondsema.net

Web Maestro Clay

[1]
http://homepage.mac.com/webmaestro/xml-fop/site/
[2]
http://homepage.mac.com/webmaestro/xml-fop/site/build.zip
[3]
http://homepage.mac.com/webmaestro/xml-fop/site/dev/svg.html
[4]
http://homepage.mac.com/webmaestro/xml-fop/site/examples.html

=== /forrest/ output ===
[clay@Clays-TiBook xml-fop_new]$ forrest
Apache Forrest.  Run 'forrest -projecthelp' to list options

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

init-props:
Loading project specific properties from  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop_new/forrest.properties
Loading user specific properties from /Users/clay/forrest.properties
Loading default properties from  
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/../context/ 
default-forrest.properties
forrest.basic.jvmargs:-Dproject.home="/Users/Shared/_WebDLs/cvs_stuff/ 
xml-fop_new"  
-Dforrest.home="/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/ 
.."

echo-settings:

check-skin:

fetch-skins-descriptors:

fetch-skin:

unpack-skins:

init-skins:

init:

bare-context:
____________________________________
Using skin book-tab
____________________________________
Removed 2 dangling directories from  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop_new/build/webapp
Removed 11 dangling files from  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop_new/build/webapp
Created dir:  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop_new/build/webapp/WEB-INF/lib

examine-proj:

check-contentdir:

ensure-content:

validation-props:

validate-xdocs:
71 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 'book-tab'

validate-stylesheets:

validate:

copy-sitemap:
Copying 2 files to  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop_new/build/webapp

copy-conf:

copy-status:
Copying 1 file to  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop_new/build/webapp

project-context:

prepare-context:

-prepare-classpath:

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

Static site will be generated at:
/Users/Shared/_WebDLs/cvs_stuff/xml-fop_new/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/cvs_stuff/xml-fop_new/build/tmp/brokenlinks.xml
for any broken links in the generated site.

Copying 46 files to  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop_new/build/site
Copying 19 files to  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop_new/build/site/skin/images
Copying 12 files to  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop_new/build/site/skin/images
Warning:  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop_new/src/documentation/skins/ 
common/images not found.
Warning:  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop_new/src/documentation/skins/ 
book-tab/images not found.
Copying 7 files to  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop_new/build/site/skin
Copying 3 files to  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop_new/build/site/skin
Warning:  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop_new/src/documentation/skins/ 
common not found.
Warning:  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop_new/src/documentation/skins/ 
book-tab not found.
------------------------------------------------------------------------
cocoon 2.1.5
Copyright (c) 1999-2004 Apache Software Foundation. All rights reserved.
------------------------------------------------------------------------


* [1/43]    [43/44]   20.052s 11.9Kb  index.html
* [2/48]    [6/47]    6.374s 31.0Kb  embedding.html
* [3/47]    [0/0]     59.133s 6.2Kb   images/EmbeddingExampleObj2PDF.png
* [4/46]    [0/40]    7.079s 16.8Kb  pdfencryption.html
* [5/45]    [0/40]    3.298s 20.4Kb  team.html
* [7/45]    [2/43]    4.307s 25.1Kb  graphics.html
* [9/53]    [10/23]   1.709s 11.4Kb  design/alt.design/index.html
* [10/53]   [1/23]    1.37s  12.9Kb  design/alt.design/coroutines.html
* [11/56]   [4/26]    2.904s 17.5Kb  design/alt.design/galleys.html
* [12/56]   [1/41]    3.243s 16.1Kb  status.html
* [14/66]   [12/31]   4.622s 11.3Kb  design/parsing.html
* [15/65]   [0/28]    2.878s 11.1Kb  design/embedding.html
* [18/62]   [0/0]     0.881s 4.7Kb   images/EmbeddingExampleXML2PDF.png
* [19/61]   [0/40]    4.693s 14.1Kb  relnotes.html
* [20/60]   [0/40]    1.575s 22.7Kb  output.html
* [21/59]   [0/27]    1.171s 10.4Kb  design/pdf-library.html
* [22/58]   [0/28]    4.063s 23.0Kb  design/breakpos.html
* [23/62]   [5/45]    5.263s 27.1Kb  changes.html
* [24/61]   [0/0]     0.458s 842b    changes.rss
* [27/58]   [0/27]    2.402s 17.9Kb  design/areas.html
* [28/58]   [1/86]    6.503s 55.1Kb  faq.html
* [30/56]   [0/0]     0.461s 3.5Kb   images/EmbeddingExampleXML2FO.png
* [31/55]   [0/41]    1.085s 12.5Kb  compiling.html
* [32/54]   [0/47]    1.391s 20.8Kb  running.html
* [33/53]   [0/27]    2.502s 11.8Kb  design/extending.html
* [34/52]   [0/27]    2.08s  12.5Kb  design/images.html
* [35/51]   [0/41]    1.62s  10.1Kb  logocontest.html
* [36/61]   [11/51]   2.399s 13.3Kb  examples.html
X [0]                                     fo/size.pdf   BROKEN:  
Streaming of an internal pipeline is not possible with a reader.
X [0]                                     fo/fonts.pdf  BROKEN:  
Streaming of an internal pipeline is not possible with a reader.
* [39/58]   [0/40]    2.254s 11.1Kb  todo.html
X [0]                                     fo/embed.pdf  BROKEN:  
Streaming of an internal pipeline is not possible with a reader.
* [42/55]   [0/27]    3.613s 17.3Kb  design/renderers.html
* [43/54]   [0/0]     0.452s 2.7Kb   images/EmbeddingExampleFO2PDF.png
* [45/52]   [0/40]    4.446s 11.3Kb  license.html
* [46/51]   [0/22]    17.741s 43.5Kb   
design/alt.design/user-agent-refs.html
* [47/50]   [0/40]    5.549s 11.0Kb  bugs.html
* [50/47]   [0/41]    4.563s 18.8Kb  servlets.html
* [51/48]   [2/28]    2.312s 16.0Kb  design/alt.design/spaces.html
* [54/45]   [0/41]    3.113s 13.7Kb  news.html
* [57/42]   [0/31]    1.767s 16.5Kb  design/fotree.html
* [59/40]   [0/40]    1.424s 23.1Kb  fonts.html
* [60/39]   [0/27]    1.609s 8.8Kb   design/startup.html
* [61/38]   [0/42]    2.241s 12.7Kb  extensions.html
* [62/37]   [0/44]    1.138s 13.5Kb  configuration.html
* [63/36]   [0/43]    1.336s 23.9Kb  hyphenation.html
* [64/36]   [1/25]    0.995s 12.1Kb  design/alt.design/keeps.html
* [67/36]   [3/27]    2.125s 13.9Kb  design/alt.design/footnotes.html
* [69/34]   [0/27]    1.792s 11.4Kb  design/svg.html
* [70/34]   [1/23]    1.579s 13.9Kb   
design/alt.design/properties/introduction.html
^                                    design/
* [71/43]   [10/81]   4.294s 29.3Kb   
design/alt.design/properties/classes-overview.html
^                                    design/
* [72/42]   [0/26]    5.645s 25.1Kb  dev/rtflib.html
^                                    design/
* [73/41]   [0/27]    1.798s 17.1Kb  dev/tools.html
^                                    design/
* [74/40]   [0/24]    1.791s 15.0Kb  dev/implement.html
* [75/39]   [0/42]    1.752s 33.4Kb  fo.html
* [76/38]   [0/41]    2.431s 16.2Kb  maillist.html
^                                    design/
* [77/37]   [0/26]    1.131s 11.4Kb  dev/extensions.html
^                                    design/
* [78/36]   [0/24]    1.4s   20.2Kb  dev/doc.html
^                                    design/
* [79/36]   [1/81]    1.35s  19.2Kb   
design/alt.design/properties/PropertyConsts-class.html
^                                    design/
* [81/34]   [0/31]    5.327s 18.2Kb  dev/index.html
^                                    design/
* [82/33]   [0/24]    4.479s 12.8Kb  dev/release.html
* [83/32]   [0/22]    1.567s 14.7Kb   
design/alt.design/compound-properties.html
* [84/55]   [24/24]   1.418s 13.8Kb  skin/page.css
* [85/54]   [0/0]     0.3s   177b     
skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png
* [86/53]   [0/0]     0.215s 177b     
skin/images/rc-b-l-5-1header-2tab-selected-3tab-selected.png
* [87/52]   [0/0]     0.159s 177b     
skin/images/rc-b-r-3-1body-2subheading-3subheading.png
* [88/51]   [0/0]     0.24s  177b     
skin/images/rc-t-r-3-1body-2subheading-3subheading.png
* [91/48]   [0/0]     0.213s 177b     
skin/images/rc-t-r-4-1body-2heading-3heading.png
* [92/47]   [0/0]     0.207s 177b     
skin/images/rc-b-l-4-1body-2heading-3heading.png
* [94/45]   [0/0]     0.481s 177b     
skin/images/rc-t-l-3-1body-2subheading-3subheading.png
* [96/43]   [0/0]     0.15s  177b     
skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png
* [98/41]   [0/0]     0.208s 177b     
skin/images/rc-b-l-5-1body-2tab-selected-3border.png
* [99/40]   [0/0]     0.168s 177b     
skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png
* [101/38]  [0/0]     0.196s 177b     
skin/images/rc-b-r-5-1body-2tab-selected-3border.png
* [102/37]  [0/0]     0.177s 177b     
skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png
^                                    design/
* [103/36]  [0/29]    2.79s  11.0Kb  dev/faq.html
* [104/35]  [0/22]    1.378s 19.2Kb  design/alt.design/traits.html
X [0]                                     fo/align2.pdf BROKEN:  
Streaming of an internal pipeline is not possible with a reader.
* [106/33]  [0/40]    1.795s 19.7Kb  resources.html
* [107/32]  [0/0]     0.213s 177b     
skin/images/rc-t-l-5-1body-2tab-selected-3tab-selected.png
* [108/31]  [0/0]     0.251s 1.2Kb   skin/forrest.css
* [110/29]  [0/44]    1.071s 13.7Kb  gethelp.html
* [112/27]  [0/0]     0.192s 177b     
skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png
* [113/26]  [0/0]     0.243s 177b     
skin/images/rc-t-r-5-1body-2tab-selected-3tab-selected.png
* [114/25]  [0/27]    1.292s 9.1Kb   design/optimise.html
* [115/24]  [0/27]    3.268s 31.8Kb  design/layout.html
* [116/23]  [0/40]    1.513s 8.2Kb   compliance.html
* [117/22]  [0/27]    1.618s 28.7Kb  design/properties.html
* [118/21]  [0/0]     0.351s 2.7Kb   images/EmbeddingExampleObj2XML.png
^                                    design/
* [119/20]  [0/28]    1.321s 11.5Kb  dev/api-doc.html
* [120/19]  [0/27]    1.041s 10.9Kb  design/useragent.html
* [122/17]  [0/35]    2.802s 15.5Kb  design/index.html
^                                    design/
* [124/15]  [0/79]    1.528s 17.9Kb  download.html
* [125/14]  [0/40]    1.343s 15.5Kb  anttask.html
* [126/18]  [5/27]    1.123s 22.4Kb  design/alt.design/xml-parsing.html
* [130/14]  [0/0]     0.223s 177b     
skin/images/rc-b-r-4-1body-2heading-3heading.png
* [131/13]  [0/0]     0.165s 177b     
skin/images/rc-t-l-4-1body-2heading-3heading.png
^                                    design/
* [132/12]  [0/24]    3.555s 14.3Kb  dev/testing.html
X [0]                                     fo/align.pdf  BROKEN:  
Streaming of an internal pipeline is not possible with a reader.
* [135/9]   [0/0]     0.203s 177b     
skin/images/rc-b-l-3-1body-2subheading-3subheading.png
^                                    design/
* [136/18]  [10/37]   1.38s  13.5Kb  dev/svg.html
X [0]                                     dev/fo/embedding.pdf  BROKEN:  
Streaming of an internal pipeline is not possible with a reader.
^                                    design/
* [147/8]   [1/82]    1.489s 23.8Kb   
design/alt.design/properties/simple-properties.html
^                                    design/
* [148/8]   [1/82]    1.761s 21.9Kb   
design/alt.design/properties/getInitialValue.html
^                                    design/
* [149/7]   [0/81]    3.137s 30.9Kb   
design/alt.design/properties/enumerated-values.html
^                                    design/
* [155/1]   [0/24]    3.756s 20.6Kb  dev/conventions.html
Total time: 5 minutes 18 seconds,  Site size: 1,397,417 Site pages: 100

BUILD FAILED
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/targets/site.xml:57:  
Java returned: 1

Total time: 5 minutes 41 seconds
[clay@Clays-TiBook xml-fop_new]$


Mime
View raw message