E4 application model editor - doesn't open model with imported packages [message #939425] |
Wed, 10 October 2012 14:49  |
Eclipse User |
|
|
|
I create custom model elements and use it in app model - editor doesn't open model with this elements. It can not find package referenced from app model file by xmlns. The project containing model (ecore, genmodel and generated code) is in dependencies of project with app model. This project contains the extension point describing package uri. All work correctly (the model successfully extended), but app model editor has problem to open model file. Is it bug of editor or editing extended model is not implemented now?
Such exception is appear:
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'http://www.semanticsoft.org/ExtensionUI/e4modelextension' not found. (platform:/resource/org.semanticsoft.e4test/Application.e4xmi, 2, 620)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:319)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:278)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:406)
at org.eclipse.e4.tools.emf.ui.common.XMIModelResource.<init>(XMIModelResource.java:67)
at org.eclipse.e4.tools.emf.editor3x.XMIResourceFunction.compute(XMIResourceFunction.java:21)
at org.eclipse.e4.core.internal.contexts.ValueComputation.get(ValueComputation.java:60)
at org.eclipse.e4.core.internal.contexts.EclipseContext.internalGet(EclipseContext.java:221)
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.10340 seconds