Hi
I have created in Eclipse a new plugin from existing jar file and than I tried to enhance my classes (using Ehancer from that new bundle), however I got an error :
[ObjectDB 2.2.8_02] Package datamodel.core.base is not found by the enhancer (error 108)
The Enhancer was run in the following way :
@Override
public void start(BundleContext context) throws Exception {
super.start(context);
ClassLoader classLoader = context.getBundle().loadClass("datamodel.core.base.NamedCoreObj").getClassLoader();
Enhancer.enhance("datamodel.core.base.*", classLoader);
The classLoader I pass has definitely access to the NamedCoreObj class.
Also package datamodel.core.base was set in my primary plugin as Exported during Runtime.
So what is wrong ?? Do you really use that second parameter ?? Don't you have a bug ??
Thanks in advance
b