Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 5643 invoked from network); 6 Sep 2006 07:27:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Sep 2006 07:27:56 -0000 Received: (qmail 87730 invoked by uid 500); 6 Sep 2006 07:27:55 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 87699 invoked by uid 500); 6 Sep 2006 07:27:55 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 87682 invoked by uid 99); 6 Sep 2006 07:27:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Sep 2006 00:27:55 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of riceyeh@gmail.com designates 64.233.166.178 as permitted sender) Received: from [64.233.166.178] (HELO py-out-1112.google.com) (64.233.166.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Sep 2006 00:27:54 -0700 Received: by py-out-1112.google.com with SMTP id c59so3577883pyc for ; Wed, 06 Sep 2006 00:27:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=cF4PorQCsvTcLACxLJV71HBDmxm58Ytq9Jvj0pOgCSZjUs0z1ry3exjyigPcDu9jsTCrhLAqjqptm/Q3tGTl3n8P/NQssaxg6GU76Z5L0hBsAtKRt7zFp0Vj8Ag81xXXnp9kjoKsP2dw7NPWr5kBY12MKOO/VYsX15Ap4wsToOY= Received: by 10.35.21.1 with SMTP id y1mr14195814pyi; Wed, 06 Sep 2006 00:27:30 -0700 (PDT) Received: by 10.35.134.13 with HTTP; Wed, 6 Sep 2006 00:27:30 -0700 (PDT) Message-ID: <47f71d940609060027g3c46bdcoa06e6042e35e5f21@mail.gmail.com> Date: Wed, 6 Sep 2006 15:27:30 +0800 From: "Rice Yeh" To: dev@cocoon.apache.org Subject: resources loading in cocoon:deploy MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_617_19976938.1157527650880" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_617_19976938.1157527650880 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, The match setting in the sitemate generated by cocoon:deploy is now . However, since resources are read from classpath, blocks are not considered here. So the setting should be changed to Regards, Rice ------=_Part_617_19976938.1157527650880 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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
------=_Part_617_19976938.1157527650880--