xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Hennebert <vincent.henneb...@anyware-tech.com>
Subject Re: svn commit: r556063 - /xmlgraphics/commons/branches/commons-1_2/forrest.properties
Date Fri, 13 Jul 2007 16:57:34 GMT
> Author: vhennebert
> Date: Fri Jul 13 09:47:24 2007
> New Revision: 556063
> 
> URL: http://svn.apache.org/viewvc?view=rev&rev=556063
> Log:
> Explicitely add a dependency on the PDF output plugin. Without this line I can't manage
to make Forrest run (strange error message). Taken from FOP's forrest.properties file.
> 
> Modified:
>     xmlgraphics/commons/branches/commons-1_2/forrest.properties

For the record, below is the complete stacktrace I get. Searching on
Google I get the following thread, which isn't very helpful:
http://www.mail-archive.com/user@forrest.apache.org/msg02708.html

>From what I've understood this is a problem of version mismatch between
Forrest and the PDF output plugin. Since this was working in FOP I
looked for any difference between the two projects, and found this line
in forrest.properties. This suddenly started to work, so I didn't
further investigate...

Vincent


vhennebert:~/Fop/Release/XMLGraphics-commons-1.2 $ forrest
Apache Forrest.  Run 'forrest -projecthelp' to list options

Buildfile:
/local/home/vhennebert/bin/../Fop/Forrest/apache-forrest-0.7/bin/../main/forrest.build.xml

check-java-version:
This is apache-forrest-0.7
Using Java 1.4 from /usr/lib/j2sdk1.4-sun/jre

init-props:
Created dir:
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/build/tmp

echo-settings:

check-skin:

init-proxy:

fetch-skins-descriptors:

fetch-skin:

unpack-skins:

init-skins:

init-plugins:
Created dir:
/local/home/vhennebert/Fop/Forrest/apache-forrest-0.7/build/plugins
Copying 1 file to
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/build/tmp
Copying 1 file to
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/build/tmp
Copying 1 file to
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/build/tmp
Copying 1 file to
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/build/tmp
Installing plugin: org.apache.forrest.plugin.output.pdf

check-plugin:
org.apache.forrest.plugin.output.pdf is not available in the build dir

init-props:

echo-settings:

init-proxy:

fetch-plugins-descriptors:
Fetching plugins descriptor: http://forrest.apache.org/plugins/plugins.xml
Getting: http://forrest.apache.org/plugins/plugins.xml
.......
last modified = Wed Apr 11 04:07:04 CEST 2007
Fetching plugins descriptor:
http://forrest.apache.org/plugins/whiteboard-plugins.xml
Getting: http://forrest.apache.org/plugins/whiteboard-plugins.xml
.........
last modified = Thu Jun 14 15:07:07 CEST 2007
Plugin list loaded from http://forrest.apache.org/plugins/plugins.xml.
Plugin list loaded from
http://forrest.apache.org/plugins/whiteboard-plugins.xml.

fetch-plugin:
Processing
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/build/tmp/plugins-1.xml
to
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/build/tmp/pluginlist2fetchbuild.xml
Loading stylesheet
/local/home/vhennebert/Fop/Forrest/apache-forrest-0.7/main/var/pluginlist2fetch.xsl

fetch-versioned-plugin:

fetch-unversioned-plugin:
Versioned plugin unavailable, trying to get versionless plugin...
Getting:
http://forrest.apache.org/plugins//org.apache.forrest.plugin.output.pdf.zip
...................
last modified = Wed Apr 11 18:07:07 CEST 2007

final-check:
org.apache.forrest.plugin.output.pdf downloaded, ready to install

fetchplugin:
Processing
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/build/tmp/plugins-2.xml
to
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/build/tmp/pluginlist2fetchbuild.xml
Loading stylesheet
/local/home/vhennebert/Fop/Forrest/apache-forrest-0.7/main/var/pluginlist2fetch.xsl

findPlugin:

unpack-plugin:

extract-plugin:
Expanding:
/local/home/vhennebert/Fop/Forrest/apache-forrest-0.7/build/plugins/org.apache.forrest.plugin.output.pdf.zip
into
/local/home/vhennebert/Fop/Forrest/apache-forrest-0.7/build/plugins/org.apache.forrest.plugin.output.pdf
Deleting 1 files from
/local/home/vhennebert/Fop/Forrest/apache-forrest-0.7/build/plugins
Copying 1 file to
/local/home/vhennebert/Fop/Forrest/apache-forrest-0.7/build/plugins

install-plugin:

configure-plugin:

configure-output-plugin:
Mounting output plugin: org.apache.forrest.plugin.output.pdf
Processing
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/build/tmp/output.xmap
to
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/build/tmp/output.xmap.new
Loading stylesheet
/local/home/vhennebert/Fop/Forrest/apache-forrest-0.7/main/var/pluginMountSnippet.xsl
Moving 1 files to
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/build/tmp

init:

-prepare-classpath:

check-contentdir:

examine-proj:

validation-props:

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

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

validate-sitemap:
...validated project sitemap

validate-skins-stylesheets:

validate-skins:

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

validate-stylesheets:

validate:

site:

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:
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/build/webapp/resources
not found.
Copying 1 file to
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/build/site
Copying main skin images to site ...
Created dir:
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/build/site/skin/images
Copying 23 files to
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/build/site/skin/images
Copying 14 files to
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/build/site/skin/images
Copying project skin images to site ...
Warning:
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/src/documentation/skins/common/images
not found.
Warning:
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/src/documentation/skins/pelt/images
not found.
Copying main skin css and js files to site ...
Copying 12 files to
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/build/site/skin
Copied 4 empty directories to 3 empty directories under
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/build/site/skin
Copying 6 files to
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/build/site/skin
Copying project skin css and js files to site ...
Warning:
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/src/documentation/skins/common
not found.
Warning:
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/src/documentation/skins/pelt
not found.
Finished copying the non-generated resources.
Now Cocoon will generate the rest ...

Static site will be generated at:
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/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:
/local/home/vhennebert/Fop/Release/XMLGraphics-commons-1.2/build/tmp/brokenlinks.xml
for any broken links in the generated site.
------------------------------------------------------------------------
cocoon 2.2.0-dev
Copyright (c) 1999-2005 Apache Software Foundation. All rights reserved.
------------------------------------------------------------------------


Lazy mode: true
Lazy mode: true
Lazy mode: true
Lazy mode: true
Lazy mode: true
Lazy mode: true
* [1/0]     [0/0]     0.479s 0b      linkmap.html
org.apache.avalon.framework.configuration.ConfigurationException: Error
while creating node 'select' at
file:/local/home/vhennebert/Fop/Forrest/apache-forrest-0.7/build/plugins/org.apache.forrest.plugin.output.pdf/output.xmap:28:35
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder.buildChildNodesList(AbstractParentProcessingNodeBuilder.java:128)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder.buildChildNodes(AbstractParentProcessingNodeBuilder.java:136)
        at
org.apache.cocoon.components.treeprocessor.sitemap.MatchNodeBuilder.buildNode(MatchNodeBuilder.java:76)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNodeBuilder.buildNode(PipelineNodeBuilder.java:113)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNodeBuilder.buildNode(PipelinesNodeBuilder.java:65)
        at
org.apache.cocoon.components.treeprocessor.sitemap.SitemapNodeBuilder.buildNode(SitemapNodeBuilder.java:70)
        at
org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.createTree(DefaultTreeBuilder.java:296)
        at
org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.build(DefaultTreeBuilder.java:381)
        at
org.apache.cocoon.components.treeprocessor.TreeProcessor.buildConcreteProcessor(TreeProcessor.java:401)
        at
org.apache.cocoon.components.treeprocessor.TreeProcessor.setupConcreteProcessor(TreeProcessor.java:348)
        at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:247)
        at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:112)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:76)
        at
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:82)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:76)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.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:203)
        at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:149)
        at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:248)
        at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:112)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:76)
        at
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:82)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:76)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.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:203)
        at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:149)
        at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:248)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:503)
        at
org.apache.cocoon.bean.CocoonWrapper.getPage(CocoonWrapper.java:456)
        at
org.apache.cocoon.bean.CocoonBean.processTarget(CocoonBean.java:501)
        at org.apache.cocoon.bean.CocoonBean.process(CocoonBean.java:362)
        at org.apache.cocoon.Main.main(Main.java:321)
Caused by: org.apache.cocoon.sitemap.PatternException: Cannot get module
named 'lm' in expression '{lm:project.{1}{2}.pdf}'
        at
org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.getNewModuleToken(PreparedVariableResolver.java:142)
        at
org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.access$500(PreparedVariableResolver.java:41)
        at
org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver$1.addToken(PreparedVariableResolver.java:96)
        at
org.apache.cocoon.components.treeprocessor.variables.VariableExpressionTokenizer.tokenize(VariableExpressionTokenizer.java:95)
        at
org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.<init>(PreparedVariableResolver.java:69)
        at
org.apache.cocoon.components.treeprocessor.variables.VariableResolverFactory.getResolver(VariableResolverFactory.java:104)
        at
org.apache.cocoon.components.treeprocessor.sitemap.SelectNodeBuilder.buildNode(SelectNodeBuilder.java:59)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder.buildChildNodesList(AbstractParentProcessingNodeBuilder.java:121)
        ... 35 more
Caused by: org.apache.avalon.framework.service.ServiceException: Could
not find component for role:
[org.apache.cocoon.components.modules.input.InputModule/lm]
(Key='org.apache.cocoon.components.modules.input.InputModule/lm')
        at
org.apache.cocoon.core.container.CoreServiceManager.lookup(CoreServiceManager.java:364)
        at
org.apache.cocoon.core.container.DefaultServiceSelector.select(DefaultServiceSelector.java:138)
        at
org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.getNewModuleToken(PreparedVariableResolver.java:140)
        ... 42 more
X [0]                                     linkmap.html  BROKEN: URI not
found: Error while creating node 'select' at
file:/local/home/vhennebert/Fop/Forrest/apache-forrest-0.7/build/plugins/org.apache.forrest.plugin.output.pdf/output.xmap:28:35
Logging Error: Writing event to closed stream.
Total time: 0 minutes 1 seconds,  Site size: 0 Site pages: 1

BUILD FAILED
/local/home/vhennebert/Fop/Forrest/apache-forrest-0.7/main/targets/site.xml:41:
Java returned: 1



---------------------------------------------------------------------
Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


Mime
View raw message