| [news.eclipse.technology.epf] Re: Getting RoleSets from XMI files |
Quentin,
Comments below.
The annoying thing is that I keep asking to see it. Given that the references are using uma: scheme, it makes me wonder if your starting resource should do the same.Ed, thanks again for your reply,
Concerning the path of the XMI file, I said "model.xmi", but I actualy specified the absolute path for model.xmi. So I don't think the problem is here.
You've already determined you have objects for which eIsProxy is returning true. Cast that object to InternalEObject and ask for the eProxyURI of that.
For the proxies, I don't really understand how to use the proxy functions on the objects, as I don't have a big knowledge about those structures.
I tried to perform some tests, like, for example :
InternalEObject p = (InternalEObject)resource.getEObject(_GgH6wOn8EdyMKb-pMuCr4g");
System.out.println("eProxy : " + p.eProxyURI().toString());
for (Iterator j = resource.getErrors().iterator(); j.hasNext();) {
Diagnostic d = (Diagnostic)j.next();
System.out.println("Error message : " + d.getMessage());
}
This sort of stuff... but I don't get anything interesting. I'm surely doing wrong.
Then it sounds to my like the library on which you want to depend isn't a plugin. When building plugins, all your dependencies must be in plugins.
Concerning the NoClassDefFoundError exception that I get when I want to use my library from my Eclipse plugin, I had already tried (but didn't tell you because it seemed useless to me) to use the "Required Plug-ins", but it's the same problem : I can't add my library in the list.
It sounds like you have a lot of problems. I'm not sure how are getting past the class not found problem to see these other problems.
I don't know what to do now
Thank you,
Quentin