Rice Yeh wrote:
Hi,
The match setting in the sitemate generated by cocoon:deploy is now
<!-- resources of block jars -->
<map:match pattern="/_cocoon/resources/*/**">
<map:read src="resource://org/apache/cocoon/{1}/resources/{2}"/>
</map:match>
. However, since resources are read from classpath, blocks are not
considered here. So the setting should be changed to
<!-- resources of block jars -->
<map:match pattern="**/_cocoon/resources/*/**">
<map:read src="resource://org/apache/cocoon/{2}/resources/{3}"/>
</map:match>
hmmm blocks should reference resources by
{request:contextPath}/_cocoon/resources/*. This way you will not need
you version of matcher (that is probably more cpu intensive).
--
Leszek Gawron, IT Manager MobileBox sp. z o.o.
+48 (61) 855 06 67 http://www.mobilebox.pl
mobile: +48 (501) 720 812 fax: +48 (61) 853 29 65