Apache Forrest - plugin.xmap.output?

2 minute read


site:
[echo]
[echo] Copying the various non-generated resources to site.
[echo] Warnings will be issued if the optional project resources are not found.
[echo] 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: C:\projects\5FL_GERMANY\focus\forrest\build\webapp\resources not found.
[copy] Copying 2 files to C:\projects\5FL_GERMANY\focus\forrest\build\site\en
[echo] Copying main skin images to site ...
[copy] Copying 18 files to C:\projects\5FL_GERMANY\focus\forrest\build\site\en\skin\images
[copy] Copying 14 files to C:\projects\5FL_GERMANY\focus\forrest\build\site\en\skin\images
[echo] Copying project skin images to site ...
[copy] Warning: C:\projects\5FL_GERMANY\focus\forrest\src\documentation\skins\common\images not found.
[copy] Warning: C:\projects\5FL_GERMANY\focus\forrest\src\documentation\skins\pelt\images not found.
[echo] Copying main skin css and js files to site ...
[copy] Copying 11 files to C:\projects\5FL_GERMANY\focus\forrest\build\site\en\skin
[copy] Copying 4 files to C:\projects\5FL_GERMANY\focus\forrest\build\site\en\skin
[echo] Copying project skin css and js files to site ...
[copy] Warning: C:\projects\5FL_GERMANY\focus\forrest\src\documentation\skins\common not found.
[copy] Warning: C:\projects\5FL_GERMANY\focus\forrest\src\documentation\skins\pelt not found.
[echo]
[echo] Finished copying the non-generated resources.
[echo] Now Cocoon will generate the rest.
[echo]
[echo] Static site will be generated at:
[echo] C:\projects\5FL_GERMANY\focus\forrest\build\site\en
[echo]
[echo] Cocoon will report the status of each document:
[echo] - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ).
[echo]
[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] * [1/0] [0/0] 0.891s 0b linkmap.html
[java] org.apache.cocoon.sitemap.PatternException: Cannot get variable 'plugin.xmap.output' in expression '{lm:plugin.xmap.output}'
[java] at org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.processModule(PreparedVariableResolver.java:250)
[java] at org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.resolve(PreparedVariableResolver.java:197)
[java] at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:77)
[java] at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
[java] at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:155)
[java] at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
[java] at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:95)
[java] at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:292)
[java] at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:223)
[java] at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:289)
[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] 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.avalon.framework.configuration.ConfigurationException: Unable to build LocationMap.
[java] at org.apache.forrest.locationmap.LocationMapModule.loadConfiguration(LocationMapModule.java:148)
[java] at org.apache.forrest.locationmap.LocationMapModule.getLocationMap(LocationMapModule.java:105)
[java] at org.apache.forrest.locationmap.LocationMapModule.getAttribute(LocationMapModule.java:203)
[java] at org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.processModule(PreparedVariableResolver.java:246)
[java] ... 14 more
[java] Caused by: org.apache.excalibur.source.SourceNotFoundException: Exception during processing of cocoon://locationmap.xml
[java] at org.apache.cocoon.components.source.impl.SitemapSource.getInputStream(SitemapSource.java:207)
[java] at org.apache.forrest.locationmap.LocationMapModule.loadConfiguration(LocationMapModule.java:144)
[java] ... 17 more
[java] Caused by: org.apache.cocoon.ResourceNotFoundException: Resource not found.
[java] at - file:/C:/projects/Libs/apache-forrest-0.8/main/webapp/./sitemap.xmap:403:38
[java] at - file:/C:/projects/Libs/apache-forrest-0.8/main/webapp/./sitemap.xmap:402:63
[java] at org.apache.cocoon.components.source.SourceUtil.handle(SourceUtil.java:377)
[java] at org.apache.cocoon.components.source.SourceUtil.getInputSource(SourceUtil.java:450)
[java] at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:281)
[java] at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:118)
[java] at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:537)
[java] at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:174)
[java] at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:437)
[java] at org.apache.cocoon.components.source.impl.SitemapSource.getInputStream(SitemapSource.java:199)
[java] ... 18 more
[java] Caused by: org.apache.excalibur.source.SourceNotFoundException: file:/C:/projects/Libs/apache-forrest-0.8/main/webapp/././../../../Libs/apache-forrest-0.8/main/webapp/locationmap.xml doesn't exist.
[java] at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:150)
[java] at org.apache.cocoon.components.source.SourceUtil.getInputSource(SourceUtil.java:445)
[java] ... 24 more
[java] Caused by: java.io.FileNotFoundException: C:\projects\Libs\apache-forrest-0.8\main\webapp\.\.\..\..\..\Libs\apache-forrest-0.8\main\webapp\locationmap.xml (The system cannot find the path specified)
[java] at java.io.FileInputStream.open(Native Method)
[java] at java.io.FileInputStream.(FileInputStream.java:106)
[java] at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:146)
[java] ... 25 more
[java] X [0] linkmap.html BROKEN: URI not found: Cannot get variable 'plugin.xmap.output' in expression '{lm:plugin.xmap.output}'
[java] Total time: 0 minutes 4 seconds, Site size: 0 Site pages: 1
[java] Java Result: 1
[echo]
[echo] Copying broken links file to site root.
[echo]
[copy] Copying 1 file to C:\projects\5FL_GERMANY\focus\forrest\build\site\en

BUILD FAILED
C:\projects\5FL_GERMANY\focus\forrest\build.xml:16: The following error occurred while executing this line:
C:\projects\Libs\apache-forrest-0.8\main\targets\site.xml:180: Error building site.

There appears to be a problem with your site build.

Read the output above:
* 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.
- See C:\projects\5FL_GERMANY\focus\forrest\build\site\en/broken-links.xml

Categories:

Updated:

Leave a Comment