Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 71959 invoked from network); 25 Feb 2006 13:35:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Feb 2006 13:35:49 -0000 Received: (qmail 48182 invoked by uid 500); 25 Feb 2006 13:35:48 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 48122 invoked by uid 500); 25 Feb 2006 13:35:47 -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 48111 invoked by uid 99); 25 Feb 2006 13:35:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Feb 2006 05:35:47 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of williamstw@gmail.com designates 64.233.184.196 as permitted sender) Received: from [64.233.184.196] (HELO wproxy.gmail.com) (64.233.184.196) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Feb 2006 05:35:46 -0800 Received: by wproxy.gmail.com with SMTP id i7so806152wra for ; Sat, 25 Feb 2006 05:35:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XfKuE7+koqANXgUGV+6TGOlVyGnhpVhy9U2MVcxBPGjq08BFU9GsDxd1HChPaeEZ7m6mq4YVKlqXXLnwHfhNwmFMPqKDC54GrC/2QCwt8OI3vbVDEc/Xtcu7H8f1C9sBvVO0ovVbjb0oewlkNF2PpmyTVqBHR1h3ZYl4uSJ3GF4= Received: by 10.54.95.12 with SMTP id s12mr2493515wrb; Sat, 25 Feb 2006 05:35:23 -0800 (PST) Received: by 10.54.124.13 with HTTP; Sat, 25 Feb 2006 05:35:23 -0800 (PST) Message-ID: <499888440602250535n319a5ff0he1a12b9d4ce19295@mail.gmail.com> Date: Sat, 25 Feb 2006 08:35:23 -0500 From: "Tim Williams" To: dev@forrest.apache.org Subject: Re: resolving project locationmaps [was: Re: svn commit: r328847 - in /forrest/trunk: main/webapp/locationmap.xml main/webapp/sitemap.xmap site-author/content/xdocs/docs_0_80/locationmap.xml In-Reply-To: <43F73FEB.3080306@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <499888440602180418v470d8c1cud376e5c091cb33ea@mail.gmail.com> <43F73FEB.3080306@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 2/18/06, Ross Gardler wrote: > Tim Williams wrote: > > This breaks the locationmaps exists selector and now if the project > > locationmap doesn't exist we get errors. > > By "errors" you mean in the log don't you? The actual site build does > not fail does it, or at least it doesn't on any of the many sites I have > using this since applying the patch in October. Yeah, in the log, but I was noticing some weird stuff happening with lm resolution in mounted lm's after that so I thought maybe that was having some unintended side effects as well -- not sure at this point. > I accept having the log error is misleading when it is not really an erro= r. I don't think it's misleading at all. It's an error;) We're trying to generate a file that doesn't exist and that's not good. > > Maybe a better way to get > > what this is trying to do is to mount the dynamic locationmap from the > > project locationmap? > > -1 > > This assumes that the dynamic locationmap is provided by the users site. > This was added because some plugins, such as the Daisy plugin, need to > generate the locationmap. > > We could expect users to know they need to add an entry into the > locationmap, but I don't like expecting the user to have to do stuff to > make things work. I'd rather look for a solution that means the select > behaves as expected, i.e. if an optional locationmap is not present it > simply ignores the fact. > > Ross I wasn't expecting the users to do anything for plugins. The plugin locationmap would then mount the dynamically generated locationmap.=20 So, Daisy plugin, which already has a static locationmap that gets mounted, would simply mount a dynamically generated one. I think this is better than having these exceptions but I'm not convinced it's a great solution either. --tim