Hi Christian,
we talked about 4 or 5 bundles maximum (JAXB, Woodstox, etc).
It's not a big deal in term of Karaf distribution side.
The other concern is if an user want to use the package from the JRE:
the user has to uncomment the package in the jre.properties, and remove
the features from the bootFeatures.
Anyway, this issue will be addressed by Karaf Profiles in the future.
I'm quite +1 to add it in Karaf 2.2.6 and 3.0.0 (for now, waiting for
the profiles).
Regards
JB
On 12/23/2011 08:52 AM, Christian Schneider wrote:
I think Dan already proposed that some time ago.
The only concern I know is that it increases the size of the karaf
distro. I am still in favour of this aproach as it
makes users lifes much easier.
Christian
Am 23.12.2011 07:35, schrieb Jean-Baptiste Onofré:
Hi Christian,
I think that the easiest way is:
1/ in the default jre.properties comment the package with issues
(JAXB, etc)
2/ in Karaf, by default, we provide a core-spec/core-api feature to
install the "correct" bundle (for JAXB, etc).
In that case, we completely override the JRE packages and "control"
the bundles that we install to provide such packages.
WDYT ?
Regards
JB
On 12/23/2011 12:53 AM, Christian Müller wrote:
May it's a stupid idea, but if an OSGI containder decide to hide some
packages from the JRE (for good reasons), shouldn't it install the
bundles
by default which provides the hidden packages so that we can trust the
javax.xml.xxx packages are available - via the JRE or a bundle...
Best,
Christian
Sent from a mobile device
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com