Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 22090 invoked from network); 4 Feb 2006 23:20:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Feb 2006 23:20:00 -0000 Received: (qmail 71553 invoked by uid 500); 4 Feb 2006 23:19:59 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 71501 invoked by uid 500); 4 Feb 2006 23:19:59 -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 71489 invoked by uid 99); 4 Feb 2006 23:19:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Feb 2006 15:19:59 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [203.121.192.8] (HELO mail.e-wire.net.au) (203.121.192.8) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Feb 2006 15:19:56 -0800 Received: from [192.168.0.7] (myself [127.0.0.1]) by mail.e-wire.net.au (8.13.1/8.13.1) with ESMTP id k14NJvTB032198 for ; Sun, 5 Feb 2006 07:19:59 +0800 Received: from 203-121-204-130.e-wire.net.au [203.121.204.130] for mail.e-wire.net.au (EHLO [192.168.0.7]) via SMTP; Sun, 05 Feb 2006 07:19:59 +0800 Received: from 127.0.0.1 (AVG SMTP 7.1.375 [267.15.1/250]); Sun, 05 Feb 2006 07:19:29 +0800 Message-ID: <002201c629e1$72b85020$0400a8c0@madaboutipv6> From: "Gav...." To: References: <1138576606.8283.46.camel@localhost.localdomain> <20060201080537.GA3761@igg.indexgeo.com.au> <43E0B1E4.3080302@apache.org> <1138801657.14636.30.camel@localhost> <20060202081541.GA19204@igg.indexgeo.com.au> <1138905035.8351.152.camel@localhost> <00bb01c62988$00dafb00$0400a8c0@madaboutipv6> <00d101c6298a$854c3eb0$0400a8c0@madaboutipv6> <00dd01c62993$0d23a910$0400a8c0@madaboutipv6> <1139083808.8308.5.camel@localhost> Subject: Re: Dispatcher rc1 Date: Sun, 5 Feb 2006 07:19:27 +0800 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 X-BitDefender-SpamStamp: 1.1.4 049000040111AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAI X-BitDefender-Spam: No (0) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ----- Original Message ----- From: "Thorsten Scherler" To: Sent: Sunday, February 05, 2006 4:10 AM Subject: Re: Dispatcher rc1 | El sáb, 04-02-2006 a las 21:58 +0800, Gav.... escribió: | > ----- Original Message ----- | > From: "Gav...." | > To: | > Sent: Saturday, February 04, 2006 8:57 PM | > Subject: Re: Dispatcher rc1 | > | > | | > || Ok, so I got my pili theme working in the new rc1, except... | > || | > || Does the genericMarkup.ft file need altering for rc1 or | > || is my markup to inlcude it in need of alteration. | > | | > | Looking at FOR-787 it has indeed been altered for rc1 | > | so the problem lies with me and my coding then. | > | > Actually I solved it, the markup I used in pili.fv was correct. | > It seems an old version of genericMarkup.ft got put into | > my /pili/html/ folder. | > | > Assuming that the genericMarkup.ft was correct in /common/html/ | > I just removed the old version from my /pili/html/ folder. | > However I got an Internal Server Error, Dispatcher apparantly | > could not find it (falling back into common). So I copied this into my | > /pili/html/ folder and | > it now works perfect. | > | > This brings a new problem though. I thought anything in /*theme*/html/ | > folder is searched for and used first, if not found then fall back to | > /common/html/ . | > It seems to not be happening any more. | | Actually I found sometimes the same problem. I solved it by restarting | "forrest run". It is because the locationmap is caching the calls, so if | there is an entry for the location in the cache, it will be taken. | Regardless whether you have added it to place that have priority of the | other. | | However, as well I am not 100% sure that *all* locations are matches | from the fallback list. Could you provide an example where exactly you | have added the contracts, then I can see what is going on and may fix | the bug (if it is one). You are right, I removed the file from my /*theme*/html/ folder, restarted with a 'Forrest run' and now the one in /common/html/ is being picked up correctly. I tested further by copying and making obvious alterations to a few other contracts, these are being picked up in the /*themes*/html/ folder. Removing them causes errors until Jetty is restarted. I also put images into the /xdocs/images/ folder and these are picked up no problem. It seems this images folder has priority over the /resources/images/ folder. If an image of name 'image1.gif' exists in both locations, the one in the /xdocs/images/ folder is the one that is used. This is not the rc1 'theme' type of test you wanted carried out but thought I'd mention it anyway. I am not sure of the correct usage of both of these images folders, or if one is redundant. | | Thanks for testing Gav. | | Keep up the good work. :) No problem, as and when I get time. :) Gav... | | salu2 | -- | thorsten | | "Together we stand, divided we fall!" | Hey you (Pink Floyd) | | | | | -- | No virus found in this incoming message. | Checked by AVG Free Edition. | Version: 7.1.375 / Virus Database: 267.15.1/250 - Release Date: 3/02/2006 | | -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 267.15.1/250 - Release Date: 3/02/2006