Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 72082 invoked from network); 22 Jul 2008 16:34:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jul 2008 16:34:45 -0000 Received: (qmail 41049 invoked by uid 500); 22 Jul 2008 16:34:42 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 40852 invoked by uid 500); 22 Jul 2008 16:34:41 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 40839 invoked by uid 99); 22 Jul 2008 16:34:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2008 09:34:41 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.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; Tue, 22 Jul 2008 16:33:47 +0000 Received: from [192.168.1.211] (unknown [217.116.183.178]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 42A4B23E4A3 for ; Tue, 22 Jul 2008 12:34:11 -0400 (EDT) Message-ID: <48860BFA.5000707@tuffmail.com> Date: Tue, 22 Jul 2008 18:34:02 +0200 From: Grzegorz Kossakowski User-Agent: Thunderbird 2.0.0.12 (X11/20071114) MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: servlet URLs in the XSL template References: <60968.195.111.2.117.1216735445.squirrel@www.nanasoft.hu> <4885ED3A.6050201@searchevent.co.uk> <41092.195.111.2.117.1216738297.squirrel@www.nanasoft.hu> <4885F66D.4030402@tuffmail.com> <42993.195.111.2.117.1216740463.squirrel@www.nanasoft.hu> <4885FE7C.7030305@tuffmail.com> <59111.195.111.2.117.1216742102.squirrel@www.nanasoft.hu> <48860088.5010501@tuffmail.com> <44444.195.111.2.117.1216743139.squirrel@www.nanasoft.hu> <48860682.1030609@tuffmail.com> <55880.195.111.2.117.1216744911.squirrel@www.nanasoft.hu> In-Reply-To: <55880.195.111.2.117.1216744911.squirrel@www.nanasoft.hu> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Peter Molnar pisze: > On Ked, J�lius 22, 2008 6:10 pm, Grzegorz Kossakowski wrote: >> What about accessing this file directly from a browser? >> >> Point browser to >> http://localhost:8888/{mount_path}/resource/internal/dojo-helper.xsl >> >> Where the mount_path is a mount path for dojo11 block (I guess it's simply >> dojo11). This should >> return the xsl file to the browser. >> >> If it's not a case then I guess I'll need to have a look at your sitemap >> to see why this cannot be >> matched. > > I have tried just that. A have started the dojo11 block in jetty, I could > access the file. After that, I have did the same to the caller block, and > a miracle! I don't know what made it work, but now it works. > > Anyway, thanks for the help! Peter, I guess I know the explanation: If you depend on another block then Maven is going to pull it from its local repository. You have changed dojo11 block but you forgot to call mvn install so Maven can install new snapshot of your block into your repository. This is a tedious thing to do everytime and that's why we have RCL plug-in for quick block development: http://cocoon.apache.org/2.2/maven-plugins/maven-plugin/1.0/1297_1_1.html http://cocoon.apache.org/2.2/1448_1_1.html -- Grzegorz --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org