forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Williams <>
Subject Re: locationmap mounting [was: Re: [jira] Commented: (FOR-573) Provide locationmap mounting capability
Date Tue, 30 Aug 2005 00:42:06 GMT
On 8/29/05, 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'd like to make it a config value and provide a plugin locationmap, but
> > that is for the future.
> >
> Please, no offense, but when you knew this, how could you suggest that I
> should refactor the view resolver code with the locationmap?
> 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.
> > > To understand it right, we would have to mount all locationsmap from
> > > plugins from the main lm in forrest, right. Did we thought about
> > > mounting them dynamically?
> >
> > Yes, what Tim is doing right now is a starting point that will allow
> > locationmaps to be mounted in the same way that plugin sitemaps are
> > mounted (i.e. configured at runtime).
> >
> Tim, I am more then willing to help. I do not want to touch the same
> classes that you may have changed on your drive. Please tell me how I
> can assist you.
> I will try tomorrow the mounting and report back. Maybe I can help
> enabling it the way you planed Tim.

Thanks, it was embarrassingly simple.  This was clearly a case of me
over-thinking it which, unfortunately, happens more often than I care
to admit.   I was worried about breaking backwards compatibility and
it took me some time to realize that the good old selector should just
be used on mounts as well.  Anyway, it's done now so if we decide to
go the plugin-locationmap-mounting, the foundation is there.

View raw message