Re: [mdr-users] some storage Problems with MDR in Eclipse Rich Clients

Martin Matula <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.mdr.user
Message-ID <[email protected]>
Marcus Tessmer wrote:

> /> The cause could be that the MDR is not able to locate mof.xml file 
> that is part of mof.jar.
> /I'm not sure but it could be an eclipse-specific classloading 
> problem. If the mof.xml is loaded with the help of the
> SystemClassLoader the file will not be found because Eclipse uses 
> separate Classloaders for each plugin.

The MDR calls: ModelPackage.class.getResource("resources/mof.xml");
The ModelPackage class is in the same jar as the resources/mof.xml file. 
So, the correct classloader should be used. Aren't you able to debug the 
code?
Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.