Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 22073 invoked from network); 16 Sep 2008 12:24:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Sep 2008 12:24:24 -0000 Received: (qmail 92929 invoked by uid 500); 16 Sep 2008 12:24:20 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 92891 invoked by uid 500); 16 Sep 2008 12:24:20 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 92880 invoked by uid 99); 16 Sep 2008 12:24:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Sep 2008 05:24:20 -0700 X-ASF-Spam-Status: No, hits=-0.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [129.67.1.171] (HELO relay8.mail.ox.ac.uk) (129.67.1.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Sep 2008 12:23:19 +0000 Received: from smtp2.mail.ox.ac.uk ([163.1.2.205]) by relay8.mail.ox.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1KfZXt-0003jC-QK for dev@forrest.apache.org; Tue, 16 Sep 2008 13:20:41 +0100 Received: from client-11-55.eduroam.oxuni.org.uk ([192.76.11.55]) by smtp2.mail.ox.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1KfZXt-0005Cy-6Y for dev@forrest.apache.org; Tue, 16 Sep 2008 13:20:41 +0100 Message-Id: From: Pablo Barrera To: dev@forrest.apache.org In-Reply-To: <1221565093.6394.177.camel@thorsten-desktop> Content-Type: multipart/alternative; boundary=Apple-Mail-7-594787657 Mime-Version: 1.0 (Apple Message framework v926) Subject: Re: Dispatcher cache deactivation not working Date: Tue, 16 Sep 2008 13:20:39 +0100 References: <1221562086.6394.172.camel@thorsten-desktop> <48CF96A5.4070208@apache.org> <4FDCC3E7-6CFC-44FF-BD12-9FE4BA369140@gsyc.es> <1221565093.6394.177.camel@thorsten-desktop> X-Mailer: Apple Mail (2.926) X-Oxford-Username: oucs0060 X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-7-594787657 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On 16/09/2008, at 12:38:13, Thorsten Scherler wrote: > On Tue, 2008-09-16 at 12:30 +0100, Pablo Barrera wrote: >> On 16/09/2008, at 12:21:09, Ross Gardler wrote: >> >>> Thorsten Scherler wrote: >>>> On Tue, 2008-09-16 at 11:22 +0100, Pablo Barrera wrote: >>>>> Hello >>>>> >>>>> I am trying to modify an structurer but every time I make a change >>>>> I have to reboot forrest, otherwise I don't see the new changes. >>>>> Looking around I have read I should turn off the cache adding: >>>>> >>>>> >>>>> >>>>> to my forrest.properties.xml file. But the cache seems to be >>>>> still working. As a test, I removed this part from my pelt- >>>>> html.content.panel.xml file: >>>>> >>>>> >>>>> >>>>> >>>>> But the "export to pdf" icon does not disappears. I have to >>>>> reboot forrest to obtain the desired result. >>>>> >>>>> I am sure I'm missing something but I can imagine what. >>>>> >>>> Hmm, I experienced something similar but ATM I have no time to >>>> debug >>>> it. Where is this structurer stored, in your project dir or in a >>>> plugin? >>> >>> Please check your logs, search for "cache", they will tell you if >>> the values returned are coming from the cache. If you don't find >>> something like "returning... from cache" then it's not using the >>> cache >> >> >> >> The structurer is stored in my project, in the default location. >> >> I have checked logs/locationmap.log and I found this: >> >> DEBUG (2008-09-16) 12:05.07:961 [core.modules.mapper.lm] (/ >> index.dispatcher.css): Locationmap cached location returned for hint: >> resolve.panels.pelt-html.content value: PATH-TO-PROJECT/src/ >> documentation/resources//themes/pelt/panels/pelt- >> html.content.panel.xml > > the changes you are doing are in the structurer or in a panel? > Sorry if I wasn't clear. The file I am changing is pelt- html.content.panel.xml, so the panel. Pablo -- Pablo Barrera http://gsyc.es/~barrera/ --Apple-Mail-7-594787657 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
On 16/09/2008, at = 12:38:13, Thorsten Scherler wrote:

On = Tue, 2008-09-16 at 12:30 +0100, Pablo Barrera wrote:
On 16/09/2008, at 12:21:09, Ross Gardler = wrote:

Thorsten Scherler = wrote:
On Tue, 2008-09-16 at 11:22 = +0100, Pablo Barrera = wrote:
Hello

I am trying to modify an = structurer but every time I make a change =  
I  have to reboot forrest, = otherwise I don't see the new changes. =  
Looking  around I have read = I should turn off the cache = adding:

<property = name=3D"dispatcher.caching" value=3D"off" = />

to my forrest.properties.xml = file. But the cache seems to be =  
still  working. As a test, = I removed this part from my pelt- =  
html.content.panel.xml = file:
=    <forrest:hook = name=3D"export-link">
=      <forrest:contract = name=3D"content-pdf-link"/>
=    </forrest:hook>

But the "export to pdf" icon = does not disappears. I have to =  
reboot  forrest to obtain = the desired = result.

I am sure I'm missing something = but I can imagine = what.

Hmm, I experienced something similar but ATM I have no = time to debug
it. = Where is this structurer stored, in your project dir or in a =  
plugin?

Please check your logs, search = for "cache", they will tell you if =  
the values returned are coming from the cache. If you = don't find  
something like "returning... = from cache" then it's not using the = cache



The structurer = is stored in my project, in the default = location.

I have checked = logs/locationmap.log and I found this:

DEBUG =   (2008-09-16) 12:05.07:961 =   [core.modules.mapper.lm] (/
index.dispatcher.css): Locationmap cached location = returned for hint:  
resolve.panels.pelt-html.content value: = PATH-TO-PROJECT/src/
documentation/resources//themes/pelt/panels/pelt-html.conten= t.panel.xml

the changes you are doing are in the = structurer or in a panel?


Sorry = if I wasn't clear. The file I am changing is 
=

= --Apple-Mail-7-594787657--