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 Sat, 31 Jul 2004 06:42:38 GMT

On Jul 30, 2004, at 11:03 AM, Dave Brondsema wrote:
> Clay Leeds wrote:
>> On Jul 30, 2004, at 8:50 AM, Dave Brondsema wrote:
>> Thanks, Dave. That's as I guessed. Now all I have to do, is figure  
>> out how to achieve a /forrest/ BUILD SUCCESSFUL and everything will  
>> be great (sort of like dehydrated water... just add water! :-)). I've  
>> tried reverting to the original sitemap.xmap, but I still receive  
>> errors for the *.fo & *.svg files scattered around... Since those  
>> files don't seem to be changing, should I just place 'raw' file1.svg  
>> & file1.pdf files in the RAW-dir (i.e., manually convert the *.svg &  
>> *.fo files into *.pdf)?
>
> I just simplified the fo & pdf pipelines and allowed .fo as a source  
> format.  Change all the .fo.pdf links to just .pdf and you should be  
> all set.  For .svg files, your idea of manually converting them and  
> then storing them in the raw dir sounds good.  This way you won't have  
> to maintain a custom sitemap which undoubtably will cause more  
> headaches in the future.
>
> I just ran forrest against xml-fop from CVS with a few of my own  
> modifications and the only errors I'm getting is on svgs and embed.pdf

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)
       <map:serializer name="svgxml"  
src="org.apache.cocoon.serialization.XMLSerializer"  
mime-type="image/svg+xml">
         <doctype-public>-//W3C//DTD SVG 1.0//EN</doctype-public>
          
<doctype-system>http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/ 
svg10.dtd</doctype-system>
       </map:serializer>

       <!-- ========================== FOP Additions  
========================== -->
       <map:serializer name="svg2pdf" mime-type="application/pdf"  
src="org.apache.cocoon.serialization.SVGSerializer">
         <parameter name="transcoder"  
value="org.apache.fop.svg.PDFTranscoder"/>
       </map:serializer>
       <!-- ======================= End FOP Additions  
======================== -->
      <!--
       <map:serializer mime-type="application/x-shockwave-flash"  
name="swf" src="org.apache.cocoon.serialization.SWFSerializer"/>
       <map:serializer mime-type="application/msword" name="fo2rtf"  
src="org.apache.cocoon.serialization.RTFSerializer"/>
       -->
     </map:serializers>

[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 10 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 1 file 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 36 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.
------------------------------------------------------------------------


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]$


Mime
View raw message