On 02.01.2012 15:40, jerome moliere wrote:
> Increasing log verbosity pointed me directly to the problem, I just
> had to set the org.osgi.framework.bootdelegation property and the
> application starts

This is not such a good "solution". IIRC Equinox does bootdelegation
automatically for JDK packages (or even worse everything? don't remember),
but it's IMHO much better to explicitly import the required packages - in
this case SAX. If XStream doesn't do this (1.4.2 doesn't seem to be a
bundle) then your bundle will have to explicitly import it when embedding
XStream.
Bundles should run anywhere, and Equinox' default behaviours are very
often "supposed to be helpful", but ultimately just misleading.

-h

Reply via email to