El vie, 02-06-2006 a las 22:25 +1000, David Crossley escribió:
> [EMAIL PROTECTED] wrote:
> > Automated build for forrest-sample-2 FAILED
> > ...
> > ...
> >      [java] X [0]                                     /icon-b.png   BROKEN: 
> > /export/home/config/forrestbot-trunk/conf/work/forrest-sample-2/src/documentation/content/xdocs/icon-b.png
> >  (No such file or directory)
> > ...
> 
> This same example works using skins.
> 
> <img src="/icon-b.png"  ...
> 
> The resources.xmap and locationmap resolve to find 
> source file in src/documentation/resources/images/ directory.
> 
> However with Dispatcher it seems to fail the locationmap
> and tries to find it at xdocs/icon-b.png
> 
> It is a silly example and perhaps it should be removed
> but why the difference between skins and Dispatcher?
> 

The main reason is that png can be generate from svg. This is controlled
by skins/dispatcher. Maybe the best would be to extract the svg
generation to a plugin of its own (it is a couple of dispatcher
contracts and structurer definitions).

The problem with the resources.xmap is that it is a mix between skin
specific matches (like round corner) and general core matches. This xmap
I personally consider as one of the highest complex code in our whole
code base that is the reason why I did not yet found the time to slim it
down to a resources-core.xmap and resources-skin.xmap.

Will try to have a look tomorrow.

> -David
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)