cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rice Yeh" <rice...@gmail.com>
Subject resources loading in cocoon:deploy
Date Wed, 06 Sep 2006 07:27:30 GMT
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>

Regards,
Rice

Mime
View raw message