Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 92349 invoked from network); 25 Feb 2007 13:25:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Feb 2007 13:25:51 -0000 Received: (qmail 99714 invoked by uid 500); 25 Feb 2007 13:25:58 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 99658 invoked by uid 500); 25 Feb 2007 13:25:58 -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 99645 invoked by uid 99); 25 Feb 2007 13:25:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Feb 2007 05:25:58 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of grek@tuffmail.com designates 216.86.168.178 as permitted sender) Received: from [216.86.168.178] (HELO mxout-03.mxes.net) (216.86.168.178) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Feb 2007 05:25:46 -0800 Received: from [192.168.1.4] (unknown [87.206.142.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 1AEE65193D for ; Sun, 25 Feb 2007 08:25:24 -0500 (EST) Message-ID: <45E18E3E.6020001@tuffmail.com> Date: Sun, 25 Feb 2007 14:25:18 +0100 From: Grzegorz Kossakowski User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: when is blockcontext allowed? References: <47f71d940702250422m6aba18f6g14c781124911c25e@mail.gmail.com> <45E18617.9020206@tuffmail.com> In-Reply-To: <45E18617.9020206@tuffmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Grzegorz Kossakowski napisał(a): > Rice Yeh napisał(a): > > The dot in path causes an error. Try replacing it with some other > character (preferably with letter) and report if it works. Please also > submit an issue to JIRA as it seems to be bug. > After debugging it a little I changed my mind, there is no bug but lack of understanding here. Valid blockcontext: url is: blockcontext:/{blockName}/{your_relative_path} where {blockName} must be exactly the same as artifactId declared in block's pom.xml and {your_relative_path} is path relative to the root directory of block. I hope you know understand why you get an exception. -- Grzegorz Kossakowski