[oaw] ClassLoader issue [message #560625] |
Thu, 21 December 2006 17:00 |
Eclipse User |
|
|
|
Originally posted by: tobiasbuhr.gmx.de
Hi all,
again it has to do with invoking an xtend m2m-transformation using the
JavaMetaModel.
Problem:
if I invoke my workflow via Platform - Run as oaw-Workflow it goes fine,
but
if I invoke the same workflow from my own plugin code, my self-defined
type won't be resolved (using JavaMetaModel):
'Couldn't resolve type for javahelpers::AJavaClass'
I examined a lot and came to the conclusion, that the problem has to do
with the used classloader. Debugging yields:
Platform - run as oaw: java.lang.classloader is used, knowing around 600
classes, everything, I might need ;-)
my plugin: org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader is
used, but it does not know my javahelpers::AJavaClass :-(
I tried to add
Export-Package: javahelpers,
sampleplugin.ui,
sampleplugin.ui.popup.actions
to the manifest, but it still does not work...
Anyone some idea????
For testing, I uploaded my minimalistic plugin to
<tbuhr.de/oaw_javamm_sample.zip>
Thanks for your time, Tobias
|
|
|
Powered by
FUDForum. Page generated in 0.02455 seconds