Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 2439 invoked from network); 30 Aug 2005 00:07:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Aug 2005 00:07:33 -0000 Received: (qmail 62665 invoked by uid 500); 30 Aug 2005 00:07:32 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 62613 invoked by uid 500); 30 Aug 2005 00:07:32 -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 62600 invoked by uid 99); 30 Aug 2005 00:07:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2005 17:07:32 -0700 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 [217.199.181.91] (HELO ns3.wkwyw.net) (217.199.181.91) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 29 Aug 2005 17:07:48 -0700 Received: (qmail 30299 invoked from network); 30 Aug 2005 00:07:30 -0000 Received: from 82-69-78-226.dsl.in-addr.zen.co.uk (HELO ?192.168.0.2?) (82.69.78.226) by ns3.wkwyw.net with SMTP; 30 Aug 2005 00:07:30 -0000 Message-ID: <4313A33A.5050604@apache.org> Date: Tue, 30 Aug 2005 01:07:22 +0100 From: Ross Gardler User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@forrest.apache.org Subject: Re: locationmap mounting [was: Re: [jira] Commented: (FOR-573) Provide locationmap mounting capability References: <1443204181.1121072529609.JavaMail.jira@ajax.apache.org> <1938709604.1125343864780.JavaMail.jira@ajax.apache.org> <4998884405082912393a642077@mail.gmail.com> <1125350918.20045.11.camel@localhost.localdomain> <43138076.6050709@apache.org> <1125354158.20045.43.camel@localhost.localdomain> In-Reply-To: <1125354158.20045.43.camel@localhost.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thorsten Scherler wrote: > On Mon, 2005-08-29 at 22:39 +0100, Ross Gardler wrote: > >>Thorsten Scherler wrote: >> >> >>>I wonder how the daisy plugin is working from a new seed. >> >>The daisy plugin does not provide a locationmap, it is up to the user to >>do this in their project. This is Ok since the URL of the repository is >>dependant on the project rather than the plugin. >> > > > Actually that is really bad for views and a showstopper to use the lm > within views. Right now you have to do so much preparation that another > step is just overkill. The activation of views already needs more time > then building forrest. I have suggested, many times, that views should go into core in order to remove the multiple dependencies between your plugins. It is precisely because of this kind of complication that plugins are not supposed to have dependencies as argued by Nicola and myself in, for example, http://marc.theaimsgroup.com/?l=forrest-dev&m=111900690921015&w=2 >>I'd like to make it a config value and provide a plugin locationmap, but >>that is for the future. >> > > > Please, no offense, [Hmmm... I'm bracing myself... I've written a reply and come back to remove the "reaction" parts... ] > but when you knew this, how could you suggest that I > should refactor the view resolver code with the locationmap? Please, do not get upset that someone does not have the foresight to anticipate every potential hiccup in the development of the project. The reality is that my not forseeing this particular hiccup is no worse than you not foreseeing it - I don't know every detail of the project, just as you do not. > If I check in my local version of views that means every project has to > copy and paste the internal.view locationmap. Not really copyless. I don't understand what the problem is. Forrest:views are going in core (eventually), therefore the locationmap settings for views should end up in the core Forrest locationmap not some plugin locationmap. What am I missing? In the meantime we have a number of potential solutions: Start a branch and move internal-views into core. This will remove all the dependencies between your plugins as we have always insisted must happen. If you don't want to move it to core yet then we can rely on users copying the locationmap into the project since the plugin is still in the whiteboard and so is not in a finished state. If this is too much for views to be enabled and you still insist on working with the internal plugin model then I'd recomend that we enhance the plugin loading code and, if necessary, the locationmap to mount a lm provided by a plugin. Tell us what you need, we will help you achieve it. Ross