forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thorsten <>
Subject Re: Weird problems with the lenya site
Date Mon, 13 Sep 2004 07:47:49 GMT
Ross Gardler wrote:
> David Crossley wrote:
>> Scherler, Thorsten wrote:
>>> I wanted to deploy the lenya site today and got the following error:
>>> X [0] linkmap.html  BROKEN: 
>>> /opt/apache/incubator/lenya-trunk/src/documentation/tabs.xmap
>>> (No such file or directory)
>>> Total time: 0 minutes 14 seconds,  Site size: 0 Site pages: 0
>>> /opt/apache/forrest/src/core/targets/site.xml:43: Java returned: 1
>> At one stage there was briefly the ability to have extra *.xmap
>> in your src/documentation/ dir. We removed a couple of days ago
>> because projects should only need the sitemap.xmap
>> Could that be the cause of your problem?
> I think this is a side effect of the move to copyless. If your project 
> has custom xmaps then I'm afraid you need to make some changes for 
> Forrest 0.6. But it will be worth your while in the long run (honest ;-))

Ok, thanks David and Ross! That means that I have to clean that up! 
Haven't heard the call! My fault!

> It used to be possible to replace *any* of the xmaps by placing your own 
> version in the project directory, these were then copied over the 
> Forrest ones at build time. However, with the move to copyless this no 
> longer happens. Instead there is now an extension mechanism for the 
> sitemap (as opposed to replacement). See 

> If my hunch is correct, what you need to do is copy whatever customised 
> matches you have in your *.xmap files into your sitemap.xmap. Remove any 
> matchers that duplicate ones in Forrests own sitemaps.
> The good news is that this makes upgrading to future versions of Forrest 
> much simpler since your project sitemap will only contain your 
> customisations, therefore no need to diff your custom xmaps with Forrests.
> Ross

Thanks again Ross!

I will do that!

King regards

View raw message