geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <>
Subject Re: Do Plugins need Prerequisites?
Date Thu, 13 Dec 2007 01:27:30 GMT

On Dec 12, 2007, at 3:39 PM, Aaron Mulder wrote:

> It was mainly for things like "this plugin needs you to hook it up to
> a database" where we can't reasonably provide a database -- you have
> to set up a DB instance and a connection pool with the right name and
> then the plugin will install.  Or it could be a dependency on a
> proprietary driver or product where we can't distribute that product
> as a plugin dependency.  I can think of a number of cases where there
> wouldn't be a way for us to provide a one-size-fits-all dependency.

I must be missing something... how does the prerequisite system work  
better than dependencies here?  I'm not 100% sure of what currently  
happens when you try to install a plugin that has an unavailable  
dependency, but it certainly won't start even if its downloaded.

david jencks

> Thanks,
>        Aaron
> On Dec 12, 2007 6:33 PM, David Jencks <> wrote:
>> Aaron included a prerequisite feature for plugin metadata which is
>> supposed to prevent you from installing a plugin if some prerequisite
>> plugin is missing.  After some thought I can't think of a reason this
>> would possibly be useful or more useful than a dependency, where the
>> needed plugin is simply installed for you.
>> I disabled this functionality but forgot to discuss this point, but
>> now that Jarek has re-enabled it I think it's time for a discussion.
>> I do think there is some use for some feature that e.g. prevents
>> installing jetty if tomcat is present, but I don't think
>> prerequisites implement that in any useful way.
>> comments?
>> thanks
>> david jencks

View raw message