Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 95260 invoked from network); 26 Feb 2006 14:54:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Feb 2006 14:54:35 -0000 Received: (qmail 58129 invoked by uid 500); 26 Feb 2006 14:54:35 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 58087 invoked by uid 500); 26 Feb 2006 14:54:34 -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 58076 invoked by uid 99); 26 Feb 2006 14:54:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Feb 2006 06:54:34 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [212.247.154.65] (HELO swip.net) (212.247.154.65) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Feb 2006 06:54:33 -0800 X-T2-Posting-ID: sqekuHx5EEXz8PMiWfS+nn/CVSJ13AovswB5l38CkqQ= X-Cloudmark-Score: 0.000000 [] Received: from [83.180.134.161] (HELO [192.168.2.5]) by mailfe03.swip.net (CommuniGate Pro SMTP 5.0.2) with ESMTP id 141364554 for dev@forrest.apache.org; Sun, 26 Feb 2006 15:54:11 +0100 Subject: Re: dispatcher project contracts From: Thorsten Scherler To: dev@forrest.apache.org In-Reply-To: <499888440602251616p15b9c4e7k7a7e9d9114a1ecc0@mail.gmail.com> References: <499888440602251616p15b9c4e7k7a7e9d9114a1ecc0@mail.gmail.com> Content-Type: text/plain; charset=utf-8 Date: Sun, 26 Feb 2006 15:54:04 +0100 Message-Id: <1140965644.8975.7.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N El s=C3=A1b, 25-02-2006 a las 19:16 -0500, Tim Williams escribi=C3=B3: > Is anyone having trouble creating a project contract? I've created my > .ft contract and placed it in > projectHOME/resources/themes/common/html/mycontract.ft I referenced > it in my fv file, refreshed... nothing.=20 Did you restart forrest run? http://issues.apache.org/jira/browse/FOR-711 Like I often said you need to restart forrest if you add a contract/structurer to a new location. That is the caching issue I have found many times with the lm.=20 Let me explain which problem I faced while my presentation in Malaga. I started a fresh seed with the dispatcher plugins activated. In the fresh site we did not add a default structurer in the resources/themes dir. BTW I would not recommend to add one till we settled a wee bit the current development on the dispatcher. Anyhow, if no theme definition can be found in the project then the default plugins structurer will be returned. Good as gold till here. Now I added a new structurer to my project in a location that has priority over the "last" fallback. As described in earlier mails the locationmap returns the cached location. You need to restart forrest to clear the locationmap cache. > Look in > localhost:8888/ls.contracts.project.source(or whatever it is)... It is=20 http://localhost:8888/ls.contracts.project.html for project contracts and http://localhost:8888/ls.contracts.html for plugin contracts > nothing listed. As far as I can tell so far there's might be > something weird going on wherein {project:resources} in > dispatcher/locationmap.xml sees the project=3D=3Do.a.p.i.dispatcher.=20 > Anyway, it could very well be a problem on my end but thought I'd ask > and see if it's broke for anyone else before I spend time on it. >=20 Try the restart. ;) >=20 > Thanks, > --tim --=20 thorsten "Together we stand, divided we fall!"=20 Hey you (Pink Floyd)