On Thu, Oct 16, 2008 at 6:32 AM, Edward Yakop <[EMAIL PROTECTED]> wrote:

> If the fragment class
> bundle does not import net.sf.cglib.proxy package, the enhancer will
> throw a ClassDefNotFoundError exception.

Are you sure it is not the other way around??
A requirement that bundles that uses Qi4j must also Import-Package
net.cglib... doesn't sound like a big deal to me.
But I would suspect that you mean that Qi4j bundle must Import-Package
the packages of the fragments, which is not possible. In that case,
setting the CGLib classloader to the Qi4j fragment's classloader
should be enough.

Cheers
Niclas

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to