[ http://issues.apache.org/jira/browse/FOR-761?page=all ]
Ross Gardler closed FOR-761:
----------------------------
Resolution: Invalid
Assign To: Ross Gardler
You only need to rebuild if any of the Java code or libraries change.
Generally, if you get strange behaviour after an svn up then do a rebuild.
> [Build Failed] 355634 Could not ... brokenlinks.xml to copy
> -----------------------------------------------------------
>
> Key: FOR-761
> URL: http://issues.apache.org/jira/browse/FOR-761
> Project: Forrest
> Type: Bug
> Components: Launch 'forrest'
> Versions: 0.8-dev
> Environment: Winxp SP2, Java build 1.5.0_06-b05
> Reporter: paul bolger
> Assignee: Ross Gardler
> Priority: Blocker
> Fix For: 0.8-dev
>
> Forrest build fails, but only on a seed-v2 instance.
> Output below.
> C:\java\forrest\test>forrest
> Apache Forrest. Run 'forrest -projecthelp' to list options
> Buildfile: C:\java\forrest\main\forrest.build.xml
> check-java-version:
> This is apache-forrest-0.8-dev
> Using Java 1.5 from C:\java\jdk5\jre
> init-plugins:
> Copying 1 file to C:\java\forrest\test\build\tmp
> Copying 1 file to C:\java\forrest\test\build\tmp
> Copying 1 file to C:\java\forrest\test\build\tmp
> Copying 1 file to C:\java\forrest\test\build\tmp
> Copying 1 file to C:\java\forrest\test\build\tmp
> Installing plugin: org.apache.forrest.plugin.input.viewHelper.xhtml.ls
> check-plugin:
> org.apache.forrest.plugin.input.viewHelper.xhtml.ls is available in the build
> di
> r
> configure-input-plugin:
> Mounting input plugin: org.apache.forrest.plugin.input.viewHelper.xhtml.ls
> Processing C:\java\forrest\test\build\tmp\input.xmap to
> C:\java\forrest\test\bui
> ld\tmp\input.xmap.new
> Loading stylesheet C:\java\forrest\main\var\pluginMountSnippet.xsl
> Moving 1 files to C:\java\forrest\test\build\tmp
> Processing C:\java\forrest\test\build\tmp\resources.xmap to
> C:\java\forrest\test
> \build\tmp\resources.xmap.new
> Loading stylesheet C:\java\forrest\main\var\pluginMountSnippet.xsl
> Moving 1 files to C:\java\forrest\test\build\tmp
> configure-plugin-locationmap:
> Mounting plugin locationmap for
> org.apache.forrest.plugin.input.viewHelper.xhtml
> .ls
> Processing C:\java\forrest\test\build\tmp\locationmap.xml to
> C:\java\forrest\tes
> t\build\tmp\locationmap.xml.new
> Loading stylesheet C:\java\forrest\main\var\pluginLmMountSnippet.xsl
> Moving 1 files to C:\java\forrest\test\build\tmp
> Installing plugin: org.apache.forrest.plugin.input.simplifiedDocbook
> check-plugin:
> org.apache.forrest.plugin.input.simplifiedDocbook is available in the build
> dir
> configure-input-plugin:
> Mounting input plugin: org.apache.forrest.plugin.input.simplifiedDocbook
> Processing C:\java\forrest\test\build\tmp\input.xmap to
> C:\java\forrest\test\bui
> ld\tmp\input.xmap.new
> Loading stylesheet C:\java\forrest\main\var\pluginMountSnippet.xsl
> Moving 1 files to C:\java\forrest\test\build\tmp
> Processing C:\java\forrest\test\build\tmp\resources.xmap to
> C:\java\forrest\test
> \build\tmp\resources.xmap.new
> Loading stylesheet C:\java\forrest\main\var\pluginMountSnippet.xsl
> Moving 1 files to C:\java\forrest\test\build\tmp
> configure-plugin-locationmap:
> Mounting plugin locationmap for
> org.apache.forrest.plugin.input.simplifiedDocboo
> k
> Processing C:\java\forrest\test\build\tmp\locationmap.xml to
> C:\java\forrest\tes
> t\build\tmp\locationmap.xml.new
> Loading stylesheet C:\java\forrest\main\var\pluginLmMountSnippet.xsl
> Moving 1 files to C:\java\forrest\test\build\tmp
> Installing plugin: org.apache.forrest.plugin.input.OpenOffice.org
> check-plugin:
> org.apache.forrest.plugin.input.OpenOffice.org is available in the build dir
> configure-input-plugin:
> Mounting input plugin: org.apache.forrest.plugin.input.OpenOffice.org
> Processing C:\java\forrest\test\build\tmp\input.xmap to
> C:\java\forrest\test\bui
> ld\tmp\input.xmap.new
> Loading stylesheet C:\java\forrest\main\var\pluginMountSnippet.xsl
> Moving 1 files to C:\java\forrest\test\build\tmp
> Processing C:\java\forrest\test\build\tmp\resources.xmap to
> C:\java\forrest\test
> \build\tmp\resources.xmap.new
> Loading stylesheet C:\java\forrest\main\var\pluginMountSnippet.xsl
> Moving 1 files to C:\java\forrest\test\build\tmp
> configure-plugin-locationmap:
> Mounting plugin locationmap for org.apache.forrest.plugin.input.OpenOffice.org
> Processing C:\java\forrest\test\build\tmp\locationmap.xml to
> C:\java\forrest\tes
> t\build\tmp\locationmap.xml.new
> Loading stylesheet C:\java\forrest\main\var\pluginLmMountSnippet.xsl
> Moving 1 files to C:\java\forrest\test\build\tmp
> Installing plugin: org.apache.forrest.plugin.output.pdf
> check-plugin:
> org.apache.forrest.plugin.output.pdf is available in the build dir
> configure-output-plugin:
> Mounting output plugin: org.apache.forrest.plugin.output.pdf
> Processing C:\java\forrest\test\build\tmp\output.xmap to
> C:\java\forrest\test\bu
> ild\tmp\output.xmap.new
> Loading stylesheet C:\java\forrest\main\var\pluginMountSnippet.xsl
> Moving 1 files to C:\java\forrest\test\build\tmp
> configure-plugin-locationmap:
> Mounting plugin locationmap for org.apache.forrest.plugin.output.pdf
> Processing C:\java\forrest\test\build\tmp\locationmap.xml to
> C:\java\forrest\tes
> t\build\tmp\locationmap.xml.new
> Loading stylesheet C:\java\forrest\main\var\pluginLmMountSnippet.xsl
> Moving 1 files to C:\java\forrest\test\build\tmp
> Installing plugin: org.apache.forrest.plugin.output.themer
> check-plugin:
> org.apache.forrest.plugin.output.themer is available in the build dir
> configure-output-plugin:
> Mounting output plugin: org.apache.forrest.plugin.output.themer
> Processing C:\java\forrest\test\build\tmp\output.xmap to
> C:\java\forrest\test\bu
> ild\tmp\output.xmap.new
> Loading stylesheet C:\java\forrest\main\var\pluginMountSnippet.xsl
> Moving 1 files to C:\java\forrest\test\build\tmp
> configure-plugin-locationmap:
> Mounting plugin locationmap for org.apache.forrest.plugin.output.themer
> Processing C:\java\forrest\test\build\tmp\locationmap.xml to
> C:\java\forrest\tes
> t\build\tmp\locationmap.xml.new
> Loading stylesheet C:\java\forrest\main\var\pluginLmMountSnippet.xsl
> Moving 1 files to C:\java\forrest\test\build\tmp
> Installing plugin: org.apache.forrest.plugin.internal.structurer
> check-plugin:
> org.apache.forrest.plugin.internal.structurer is available in the build dir
> configure-internal-plugin:
> Mounting internal plugin: org.apache.forrest.plugin.internal.structurer
> Processing C:\java\forrest\test\build\tmp\internal.xmap to
> C:\java\forrest\test\
> build\tmp\internal.xmap.new
> Loading stylesheet C:\java\forrest\main\var\pluginMountSnippet.xsl
> Moving 1 files to C:\java\forrest\test\build\tmp
> configure-plugin-locationmap:
> Mounting plugin locationmap for org.apache.forrest.plugin.internal.structurer
> Processing C:\java\forrest\test\build\tmp\locationmap.xml to
> C:\java\forrest\tes
> t\build\tmp\locationmap.xml.new
> Loading stylesheet C:\java\forrest\main\var\pluginLmMountSnippet.xsl
> Moving 1 files to C:\java\forrest\test\build\tmp
> Installing plugin: org.apache.forrest.plugin.internal.NoteTaking
> check-plugin:
> org.apache.forrest.plugin.internal.NoteTaking is available in the build dir
> configure-internal-plugin:
> Mounting internal plugin: org.apache.forrest.plugin.internal.NoteTaking
> Processing C:\java\forrest\test\build\tmp\internal.xmap to
> C:\java\forrest\test\
> build\tmp\internal.xmap.new
> Loading stylesheet C:\java\forrest\main\var\pluginMountSnippet.xsl
> Moving 1 files to C:\java\forrest\test\build\tmp
> configure-plugin-locationmap:
> Mounting plugin locationmap for org.apache.forrest.plugin.internal.NoteTaking
> Processing C:\java\forrest\test\build\tmp\locationmap.xml to
> C:\java\forrest\tes
> t\build\tmp\locationmap.xml.new
> Loading stylesheet C:\java\forrest\main\var\pluginLmMountSnippet.xsl
> Moving 1 files to C:\java\forrest\test\build\tmp
> validate-xdocs:
> 20 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-skinchoice:
> ...validated existence of skin 'pelt'
> 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: C:\java\forrest\test\build\webapp\resources not found.
> Copying 2 files to C:\java\forrest\test\build\site
> Copying main skin images to site ...
> Copying 23 files to C:\java\forrest\test\build\site\skin\images
> Copying 14 files to C:\java\forrest\test\build\site\skin\images
> Copying project skin images to site ...
> Warning: C:\java\forrest\test\src\documentation\skins\common\images not found.
> Warning: C:\java\forrest\test\src\documentation\skins\pelt\images not found.
> Copying main skin css and js files to site ...
> Copying 14 files to C:\java\forrest\test\build\site\skin
> Copying 6 files to C:\java\forrest\test\build\site\skin
> Copying project skin css and js files to site ...
> Warning: C:\java\forrest\test\src\documentation\skins\common not found.
> Warning: C:\java\forrest\test\src\documentation\skins\pelt not found.
> Finished copying the non-generated resources.
> Now Cocoon will generate the rest.
> Static site will be generated at:
> C:\java\forrest\test\build\site
> Cocoon will report the status of each document:
> - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ).
> ------------------------------------------------------------------------
> cocoon 2.2.0-dev
> Copyright (c) 1999-2005 Apache Software Foundation. All rights reserved.
> Build: December 8 2005 (TargetVM=1.4, SourceVM=1.4, Debug=on, Optimize=on)
> ------------------------------------------------------------------------
> Exception in thread "main"
> org.apache.avalon.framework.configuration.Configurati
> onException: Could not add component defined at
> file:/C:/java/forrest/main/webap
> p/./WEB-INF/xconf/forrest-core.xconf:247:112
> at
> org.apache.cocoon.core.container.CoreServiceManager.addComponent(Core
> ServiceManager.java:542)
> at
> org.apache.cocoon.components.container.CocoonServiceManager.addCompon
> ent(CocoonServiceManager.java:66)
> at
> org.apache.cocoon.core.container.DefaultServiceSelector.configure(Def
> aultServiceSelector.java:124)
> at
> org.apache.avalon.framework.container.ContainerUtil.configure(Contain
> erUtil.java:201)
> at
> org.apache.cocoon.core.container.DefaultServiceSelector$Factory.setup
> Instance(DefaultServiceSelector.java:215)
> at
> org.apache.cocoon.core.container.ComponentFactory.newInstance(Compone
> ntFactory.java:133)
> at
> org.apache.cocoon.core.container.handler.ThreadSafeComponentHandler.d
> oInitialize(ThreadSafeComponentHandler.java:54)
> at
> org.apache.cocoon.core.container.handler.AbstractComponentHandler.ini
> tialize(AbstractComponentHandler.java:274)
> at
> org.apache.cocoon.core.container.handler.AbstractComponentHandler.get
> ComponentHandler(AbstractComponentHandler.java:128)
> at
> org.apache.cocoon.core.container.CoreServiceManager.getComponentHandl
> er(CoreServiceManager.java:680)
> at
> org.apache.cocoon.core.container.CoreServiceManager.addComponent(Core
> ServiceManager.java:532)
> at
> org.apache.cocoon.components.container.CocoonServiceManager.addCompon
> ent(CocoonServiceManager.java:66)
> at
> org.apache.cocoon.core.container.CoreServiceManager.parseConfiguratio
> n(CoreServiceManager.java:729)
> at
> org.apache.cocoon.core.container.CoreServiceManager.loadURI(CoreServi
> ceManager.java:812)
> at
> org.apache.cocoon.core.container.CoreServiceManager.handleInclude(Cor
> eServiceManager.java:758)
> at
> org.apache.cocoon.core.container.CoreServiceManager.parseConfiguratio
> n(CoreServiceManager.java:694)
> at
> org.apache.cocoon.core.container.CoreServiceManager.configure(CoreSer
> viceManager.java:211)
> at
> org.apache.avalon.framework.container.ContainerUtil.configure(Contain
> erUtil.java:201)
> at org.apache.cocoon.Cocoon.configure(Cocoon.java:347)
> at org.apache.cocoon.Cocoon.initialize(Cocoon.java:253)
> at
> org.apache.avalon.framework.container.ContainerUtil.initialize(Contai
> nerUtil.java:244)
> at org.apache.cocoon.core.CoreUtil.createProcessor(CoreUtil.java:758)
> at org.apache.cocoon.core.CoreUtil.createCocoon(CoreUtil.java:717)
> at
> org.apache.cocoon.bean.CocoonWrapper.initialize(CocoonWrapper.java:12
> 9)
> at org.apache.cocoon.bean.CocoonBean.initialize(CocoonBean.java:97)
> at org.apache.cocoon.Main.main(Main.java:310)
> Caused by: java.lang.Exception: Cannot find class
> org.apache.forrest.locationmap
> .source.impl.LocationmapSourceFactory for component at
> file:/C:/java/forrest/mai
> n/webapp/./WEB-INF/xconf/forrest-core.xconf:247:112
> at
> org.apache.cocoon.core.container.CoreServiceManager.getComponentHandl
> er(CoreServiceManager.java:655)
> at
> org.apache.cocoon.core.container.CoreServiceManager.addComponent(Core
> ServiceManager.java:532)
> ... 25 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.forrest.locationmap.sour
> ce.impl.LocationmapSourceFactory
> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at
> org.apache.cocoon.core.container.ComponentEnvironment.loadClass(Compo
> nentEnvironment.java:77)
> at
> org.apache.cocoon.core.container.CoreServiceManager.getComponentHandl
> er(CoreServiceManager.java:653)
> ... 26 more
> Java Result: 1
> Copying broken links file to site root.
> BUILD FAILED
> C:\java\forrest\main\targets\site.xml:171: Warning: Could not find file
> C:\java\
> forrest\test\build\tmp\brokenlinks.xml to copy.
> Total time: 8 seconds
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira