Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » [oaw] ClassLoader issue
[oaw] ClassLoader issue [message #560625] Thu, 21 December 2006 22: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
Previous Topic:Is it possible to use GMF without underlying EMF model?
Next Topic:[oaw] ClassLoader issue
Goto Forum:
  


Current Time: Mon Oct 20 08:12:54 GMT 2014

Powered by FUDForum. Page generated in 0.14447 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software