forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Williams <william...@gmail.com>
Subject Re: ForrestBot build for forrest-sample-2 FAILED
Date Fri, 06 Jan 2006 12:50:25 GMT
On 1/6/06, Tim Williams <williamstw@gmail.com> wrote:
> On 1/6/06, Forrestbot@forrest.zones.apache.org
> <Forrestbot@forrest.zones.apache.org> wrote:
> > Automated build for forrest-sample-2 FAILED
> > Log attached.
> >
> > ----------
> > Forrestbot run ended at 06 January 11:56 AM
> > Using Forrest 0.8-dev
> > Forrestbot administrator: Forrest developers
> > ----------
> >
> >      [echo]
> >           ....... Forrest render START 2006-01-06 11:56:11
> >           ... Rendering docs in /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2
> >
> >
> > check-java-version:
> >      [echo] This is apache-forrest-0.8-dev
> >      [echo] Using Java 1.4 from /usr/j2se/jre
> >
> > init-props:
> >     [mkdir] Created dir: /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp
> >
> > echo-settings:
> >
> > check-skin:
> >
> > init-proxy:
> >
> > fetch-skins-descriptors:
> >
> > fetch-skin:
> >
> > unpack-skins:
> >
> > init-skins:
> >
> > init-plugins:
> >     [mkdir] Created dir: /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/webapp/conf
> >      [copy] Copying 1 file to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp
> >      [copy] Copying 1 file to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp
> >      [copy] Copying 1 file to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp
> >      [copy] Copying 1 file to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp
> >      [copy] Copying 1 file to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp
> >      [echo] Installing plugin: org.apache.forrest.plugin.output.pdf
> >
> > check-plugin:
> >      [echo] org.apache.forrest.plugin.output.pdf is available in the build dir
> >
> > init-props:
> >
> > echo-settings:
> >
> > init-proxy:
> >
> > fetch-plugins-descriptors:
> >
> > fetch-plugin:
> >
> > unpack-plugin:
> >
> > install-plugin:
> >
> > configure-plugin:
> >
> > configure-output-plugin:
> >      [echo] Mounting output plugin: org.apache.forrest.plugin.output.pdf
> >      [xslt] Processing /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/output.xmap
to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/output.xmap.new
> >      [xslt] Loading stylesheet /export/opt/forrest-trunk/main/var/pluginMountSnippet.xsl
> >      [move] Moving 1 files to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp
> >      [echo] No locationmap provided for plugin org.apache.forrest.plugin.output.pdf
> >      [echo] Installing plugin: org.apache.forrest.plugin.output.themer
> >
> > check-plugin:
> >      [echo] org.apache.forrest.plugin.output.themer is available in the build dir
> >
> > init-props:
> >
> > echo-settings:
> >
> > init-proxy:
> >
> > fetch-plugins-descriptors:
> >
> > fetch-plugin:
> >
> > unpack-plugin:
> >
> > install-plugin:
> >
> > configure-plugin:
> >
> > configure-output-plugin:
> >      [echo] Mounting output plugin: org.apache.forrest.plugin.output.themer
> >      [xslt] Processing /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/output.xmap
to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/output.xmap.new
> >      [xslt] Loading stylesheet /export/opt/forrest-trunk/main/var/pluginMountSnippet.xsl
> >      [move] Moving 1 files to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp
> >
> > configure-plugin-locationmap:
> >      [echo] Mounting plugin locationmap for org.apache.forrest.plugin.output.themer
> >      [xslt] Processing /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/locationmap.xml
to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/locationmap.xml.new
> >      [xslt] Loading stylesheet /export/opt/forrest-trunk/main/var/pluginLmMountSnippet.xsl
> >      [move] Moving 1 files to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp
> >      [echo] Installing plugin: org.apache.forrest.plugin.internal.structurer
> >
> > check-plugin:
> >      [echo] org.apache.forrest.plugin.internal.structurer is available in the build
dir
> >
> > init-props:
> >
> > echo-settings:
> >
> > init-proxy:
> >
> > fetch-plugins-descriptors:
> >
> > fetch-plugin:
> >
> > unpack-plugin:
> >
> > install-plugin:
> >
> > configure-plugin:
> >
> > configure-internal-plugin:
> >      [echo] Mounting internal plugin: org.apache.forrest.plugin.internal.structurer
> >      [xslt] Processing /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/internal.xmap
to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/internal.xmap.new
> >      [xslt] Loading stylesheet /export/opt/forrest-trunk/main/var/pluginMountSnippet.xsl
> >      [move] Moving 1 files to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp
> >
> > configure-plugin-locationmap:
> >      [echo] Mounting plugin locationmap for org.apache.forrest.plugin.internal.structurer
> >      [xslt] Processing /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/locationmap.xml
to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp/locationmap.xml.new
> >      [xslt] Loading stylesheet /export/opt/forrest-trunk/main/var/pluginLmMountSnippet.xsl
> >      [move] Moving 1 files to /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp
> >
> > init:
> >
> > -prepare-classpath:
> >
> > check-contentdir:
> >
> > examine-proj:
> >
> > validation-props:
> >
> > validate-xdocs:
> > [xmlvalidate] 18 file(s) have been successfully validated.
> >      [echo] ...validated xdocs
> >
> > validate-skinconf:
> > [xmlvalidate] 1 file(s) have been successfully validated.
> >      [echo] ...validated skinconf
> >
> > validate-sitemap:
> >      [echo] ...validated project sitemap
> >
> > validate-skins-stylesheets:
> >
> > validate-skins:
> >
> > validate-skinchoice:
> >      [echo] ...validated existence of skin 'pelt'
> >
> > validate-stylesheets:
> >
> > validate:
> >
> > site:
> >      [echo]
> >   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.
> >      [echo] Copying project resources and images to site ...
> >      [copy] Warning: /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/webapp/resources
not found.
> >      [copy] Copying 2 files to /var/apache2/htdocs/ft/build/forrest-sample-2
> >      [echo] Copying main skin images to site ...
> >      [copy] Copying 23 files to /var/apache2/htdocs/ft/build/forrest-sample-2/skin/images
> >      [copy] Copying 14 files to /var/apache2/htdocs/ft/build/forrest-sample-2/skin/images
> >      [echo] Copying project skin images to site ...
> >      [copy] Warning: /var/apache2/htdocs/ft/src/documentation/skins/common/images
not found.
> >      [copy] Warning: /var/apache2/htdocs/ft/src/documentation/skins/pelt/images
not found.
> >      [echo] Copying main skin css and js files to site ...
> >      [copy] Copying 14 files to /var/apache2/htdocs/ft/build/forrest-sample-2/skin
> >      [copy] Copying 6 files to /var/apache2/htdocs/ft/build/forrest-sample-2/skin
> >      [echo] Copying project skin css and js files to site ...
> >      [copy] Warning: /var/apache2/htdocs/ft/src/documentation/skins/common not found.
> >      [copy] Warning: /var/apache2/htdocs/ft/src/documentation/skins/pelt not found.
> >      [echo]
> > Finished copying the non-generated resources.
> > Now Cocoon will generate the rest.
> >
> > Static site will be generated at:
> > /var/apache2/htdocs/ft/build/forrest-sample-2
> >
> > Cocoon will report the status of each document:
> >   - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ).
> >
> >      [java] ------------------------------------------------------------------------
> >      [java] cocoon 2.2.0-dev
> >      [java] Copyright (c) 1999-2005 Apache Software Foundation. All rights reserved.
> >      [java] Build: December 8 2005 (TargetVM=1.4, SourceVM=1.4, Debug=on, Optimize=on)
> >      [java] ------------------------------------------------------------------------
> >      [java]
> >      [java]
> >      [java] * [1/0]     [0/0]     0.333s 0b      linkmap.html
> >      [java] org.apache.avalon.framework.configuration.ConfigurationException: Invalid
pattern '{project:skinconf}' at file:/export/opt/forrest-trunk/main/webapp/./sitemap.xmap:284:73
> >      [java]     at org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.getParameters(DefaultTreeBuilder.java:568)
> >      [java]     at org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.setupNode(DefaultTreeBuilder.java:494)
> >      [java]     at org.apache.cocoon.components.treeprocessor.sitemap.TransformNodeBuilder.buildNode(TransformNodeBuilder.java:55)
> >      [java]     at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder.buildChildNodesList(AbstractParentProcessingNodeBuilder.java:120)
> >      [java]     at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder.buildChildNodes(AbstractParentProcessingNodeBuilder.java:135)
> >      [java]     at org.apache.cocoon.components.treeprocessor.ContainerNodeBuilder.setupNode(ContainerNodeBuilder.java:48)
> >      [java]     at org.apache.cocoon.components.treeprocessor.NamedContainerNodeBuilder.buildNode(NamedContainerNodeBuilder.java:41)
> >      [java]     at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder.buildChildNodesList(AbstractParentProcessingNodeBuilder.java:120)
> >      [java]     at org.apache.cocoon.components.treeprocessor.CategoryNodeBuilder.buildNode(CategoryNodeBuilder.java:65)
> >      [java]     at org.apache.cocoon.components.treeprocessor.sitemap.SitemapNodeBuilder.buildNode(SitemapNodeBuilder.java:48)
> >      [java]     at org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.createTree(DefaultTreeBuilder.java:348)
> >      [java]     at org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.build(DefaultTreeBuilder.java:449)
> >      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >      [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >      [java]     at java.lang.reflect.Method.invoke(Method.java:324)
> >      [java]     at org.apache.cocoon.core.container.handler.PoolableComponentHandler$ProxyHandler.invoke(PoolableComponentHandler.java:147)
> >      [java]     at $Proxy1.build(Unknown Source)
> >      [java]     at org.apache.cocoon.components.treeprocessor.TreeProcessor.buildConcreteProcessor(TreeProcessor.java:725)
> >      [java]     at org.apache.cocoon.components.treeprocessor.TreeProcessor.setupConcreteProcessor(TreeProcessor.java:394)
> >      [java]     at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:288)
> >      [java]     at org.apache.cocoon.Cocoon.process(Cocoon.java:557)
> >      [java]     at org.apache.cocoon.bean.CocoonWrapper.getPage(CocoonWrapper.java:426)
> >      [java]     at org.apache.cocoon.bean.CocoonBean.processTarget(CocoonBean.java:496)
> >      [java] X [0]                                     linkmap.html      BROKEN:
URI not found: Invalid pattern '{project:skinconf}' at file:/export/opt/forrest-trunk/main/webapp/./sitemap.xmap:284:73
> >      [java]     at org.apache.cocoon.bean.CocoonBean.process(CocoonBean.java:357)
> >      [java]     at org.apache.cocoon.Main.main(Main.java:311)
> >      [java] Caused by: org.apache.cocoon.sitemap.PatternException: Cannot get module
named 'project' in expression '{project:skinconf}'
> >      [java]     at org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.getNewModuleToken(PreparedVariableResolver.java:141)
> >      [java]     at org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver$1.addToken(PreparedVariableResolver.java:96)
> >      [java]     at org.apache.cocoon.components.treeprocessor.variables.VariableExpressionTokenizer.tokenize(VariableExpressionTokenizer.java:95)
> >      [java]     at org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.<init>(PreparedVariableResolver.java:69)
> >      [java]     at org.apache.cocoon.components.treeprocessor.variables.VariableResolverFactory.getResolver(VariableResolverFactory.java:104)
> >      [java]     at org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.resolve(DefaultTreeBuilder.java:621)
> >      [java]     at org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.getParameters(DefaultTreeBuilder.java:565)
> >      [java]     ... 25 more
> >      [java] Caused by: org.apache.avalon.framework.service.ServiceException: Could
not access the component for role [org.apache.cocoon.components.modules.input.InputModule/project]
(Key='org.apache.cocoon.components.modules.input.InputModule/project')
> >      [java]     at org.apache.cocoon.core.container.CoreServiceManager.lookup(CoreServiceManager.java:437)
> >      [java]     at org.apache.cocoon.core.container.DefaultServiceSelector.select(DefaultServiceSelector.java:141)
> >      [java]     at org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.getNewModuleToken(PreparedVariableResolver.java:139)
> >      [java]     ... 31 more
> >      [java] Caused by: java.lang.IllegalArgumentException: key can't be empty
> >      [java]     at java.lang.System.getProperty(System.java:570)
> >      [java]     at org.apache.forrest.conf.ForrestConfModule.loadSystemProperties(ForrestConfModule.java:221)
> >      [java]     at org.apache.forrest.conf.ForrestConfModule.initialize(ForrestConfModule.java:209)
> >      [java]     at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
> >      [java]     at org.apache.cocoon.core.container.ComponentFactory.setupInstance(ComponentFactory.java:160)
> >      [java]     at org.apache.cocoon.core.container.ComponentFactory.newInstance(ComponentFactory.java:133)
> >      [java]     at org.apache.cocoon.core.container.handler.ThreadSafeComponentHandler.doInitialize(ThreadSafeComponentHandler.java:54)
> >      [java]     at org.apache.cocoon.core.container.handler.AbstractComponentHandler.initialize(AbstractComponentHandler.java:274)
> >      [java]     at org.apache.cocoon.core.container.handler.LazyHandler.getDelegate(LazyHandler.java:53)
> >      [java]     at org.apache.cocoon.core.container.handler.LazyHandler.get(LazyHandler.java:71)
> >      [java]     at org.apache.cocoon.core.container.CoreServiceManager.lookup(CoreServiceManager.java:427)
> >      [java]     ... 33 more
> >      [java] Total time: 0 minutes 4 seconds,  Site size: 0 Site pages: 1
> >      [java] Java Result: 1
> >      [echo]
> >   Copying broken links file to site root.
> >
> >      [copy] Copying 1 file to /var/apache2/htdocs/ft/build/forrest-sample-2
> >      [echo] Oops, something broke
>
> My guess is this is a result of the conflicting forrest.properties in
> /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2
>
> Unfortunately I'm not sure which one is correct.  It looks like the
> local modification should be kept since it enables views but I haven't
> followed the zone stuff as much as I should.
> --tim

A little more checking.  I now see that forrest-sample-2 is built from
fresh-site but there's nothing to re-enable views after the checkout. 
I dont' know if this is correct or not since a conflict from the
locally enabled views probably would have surfaced by now.  I wonder
if we'd be better off basing forrest-sample-2 on template-sites\v3
instead?
--tim

Mime
View raw message