Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » GMT (Generative Modeling Technologies) » [oaw] ClassLoader issue
[oaw] ClassLoader issue [message #560625] Thu, 21 December 2006 22:00
Eclipse UserFriend
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: Fri Apr 26 02:39:01 GMT 2024

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

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

Back to the top