[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.epf] Re: Getting RoleSets from XMI files

Ed, I have splitted the message in two problems:

--------------- Unresolved proxy (Obtaining the names of the guidelines)

The path is "C:/myWorkspace/com.st.library/EPF6/PMM_plugin/deliveryprocesses/PMM_lifecycle/model.xmi"
This xmi file contains uma references inside.


I've understood what you wanted me to do about eProxyURI() of the InternalEOBject. Here is a debug output I made, from inside the loop:

- Phase : Project Specification and Project Definition
- Guideline : org.eclipse.epf.uma.impl.GuidelineImpl
- getPresentationName() : - getName() : - eIsProxy() : true
- getGuid() : _ou7UEha3Ed22s7Cm8XbSQw
- eProxyURI() : uma://_wTuT0MmrEdyxNoaGNtevxw#_GgH6wOn8EdyMKb-pMuCr4g
- eProxyURI of InternalEObject: uma://_wTuT0MmrEdyxNoaGNtevxw#_GgH6wOn8EdyMKb-pMuCr4g


The two proxyURI seem to be the same... what does this mean?

--------------- Library into plugin (Using the library from the Eclise plugin)

I've created a test plugin which only contains System.out.println stuff. I have exported it to a .jar file. In my plugin, I did "Runtime" -> "Classpath" -> "Add", and I added this .jar file.
And it worked fine!


Then, I tried to so the same with my library. I have exported it to a .jar file and added it to my plugin's classpath.
--> Now, I don't get "NoClassDefFoundError: com/st/library/STXMIParser", but I get this : "NoClassDefFoundError: org/eclipse/emf/ecore/resource/resourceSet" (and it's my library that uses emf)


I even tried to export emf.ecore to a .jar file and to add it to the plugin's classpath, but it doesn't solve anything.

---------------

Thank you,

Quentin