Hi,

Am Donnerstag, den 19.05.2011, 16:02 +0100 schrieb Valentin Valchev: 
> Hello Felix,
> I personally welcome your suggestion. Let's take benefit of the
> modularity that OSGi provides and split the plugins. This would also
> make them easier to maintain.
> Still too many bundles might be a little bit frustrating. So maybe API +
> Web Console Impl + Core Support should stay in one bundle - this way
> installing one bundle you get all core API including the possibility to
> extend the framework by installing new bundles.

Makes sense.

This is also exactly the reasoning for the current "all-in-one" bundle
with respect to 3rd party dependencies (commons-fileupload, etc).

> 
> The other plugins could be individually packaged in bundles.
> 
> As for the Licenses plugin, I'm not quite sure it is part of the OSGi
> specification, so IMHO it should be also a separate bundle.

The plugin makes use of two sources: One is the Bundle-License header
specified in R4.2 and the other is well-known files and locations in
Apache libraries.

As for the second source  moving out would make sense; as for the first
source it would not ;-) But you are right. Maybe moving this thing out
is the better option.

Regards
Felix

> 
> 
> Regards,
> Valentin Valchev
> 
> On 19.5.2011 г. 17:37 ч., Felix Meschberger wrote:
> > Hi all,
> >
> > The current Web Console bundle currently contains a lot of stuff with
> > some dependencies to the "outside":
> >
> >   * Web Console API (optionally used by plugins)
> >   * Core Support
> >       - Bundles
> >       - Services
> >       - System Status
> >       - Configuration Status (pluggable in itself)
> >       - Licenses
> >   * OSGi Compendium Support
> >       - Felix DS Admin
> >       - Configuration Admin
> >       - Shell
> >       - Log Service
> >       - Event Admin
> >       - Deployment Admin
> >   * Actual Web Console implementation
> >
> > Now, if a framework instance does not have the Compendium Services
> > installed, the respective pages are either empty or erroneous or cause
> > exceptions in the log (see FELIX-2727 for example).
> >
> > I am thinking about splitting the Web Console Bundle up like this:
> >    * A Web Console API bundle just exporting the API
> >    * A Web Console Core bundle importing the Web Console API,
> >        exporting nothing and just providing the "Core Support"
> >        pages as listed above.
> >    * One additional bundle for Compendium support allowing for
> >        more flexible and dynamic adaption.
> >
> > WDYT ?
> >
> > Regards
> > Felix
> >
> >
> >
> 
> 


Reply via email to