On May 22, 2008, at 10:09 , Saminda Abeyruwan wrote:

Bundle A exports some package "a.b". In addition to this, this bundle embed
a foo.jar and manifest has Bundle-Classpath: foo.jar

Bundle B imports package "a.b". Say the activator of bundle B calls a class of this package. When this happen, I'm seen a class not found exception from
a.b class, which is available in foo.jar. When bundle B's class loader
delegates to bundle A's class loader, this shouldn't be a problem. Am I
doing something wrong ?

If my memory serves me well, you need to explicitly include "." in the bundle classpath, so:

Bundle-Classpath: ., foo.jar

Greetings, Marcel

Reply via email to