[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [equinox-dev] Should framework extension bundles support embedded JAR files?
- From: Peter Kriens <Peter.Kriens@xxxxxxxxx>
- Date: Tue, 12 Jun 2007 18:06:02 +0200
- Delivered-to: email@example.com
- Organization: aQute
That sounds like an interesting abuse of extension bundles :-) All
bundles are created equal, but some are more equal than others?
I think the spec contains enough mechanisms to enforce the things you
want, extension bundles were absolutely not mean for core bundles.
They were meant for framework extensions that operate "below" the OSGi
JV> Hi all,
JV> We have a provisioning/updating bundle that takes care of deploying
JV> our system into different instances. This bundle is core to the system
JV> and should never be stopped or uninstalled. I stumbled upon framework
JV> extension bundles yesterday and thought it would be interesting if we
JV> could attach our provisioning bundle to the Equinox framework using an
JV> Unfortunately, I realized that extension bundles apparently don't
JV> support embedded jars (NoClassDefFoundErrors). Looking at section 3.15
JV> of the core spec ("Extension Bundles"), I wasn't able to determine
JV> whether they should be supported or not. However, if they aren't
JV> supported, I would expect the list of illegal manifest headers to
JV> include "Bundle-ClassPath" or at least a note detailing that the
JV> header isn't fully supported.
JV> equinox-dev mailing list
Peter Kriens Tel +33467542167
9C, Avenue St. Drézéry AOL,Yahoo: pkriens
34160 Beaulieu, France ICQ 255570717
Skype pkriens Fax +1 8153772599