[MWE2] Running workflow from plugin, custom components not found [message #1225401] |
Sun, 29 December 2013 18:09 |
|
Hello,
I'm using MWE2 to orchestrate a workflow of several M2M and M2T operations with a few custom components. It executes well using the standard Run > Launch, however I need to launch it from an Eclipse plugin, thus from a Command.
When I try to launch the workflow using
new Mwe2Launcher().run(new String[]{workflowFile});
I get the following error:
Quote:
java.lang.IllegalStateException: [XtextLinkingDiagnostic: null:60 Couldn't resolve reference to JvmType 'org.eclipse.papyrus.test.framework.m2m.QvtoTransformationWorkflowComponent'., XtextLinkingDiagnostic: null:61 Couldn't resolve reference to JvmIdentifiableElement 'inputSlots'., XtextLinkingDiagnostic: null:62 Couldn't resolve reference to JvmIdentifiableElement 'inputSlots'., XtextLinkingDiagnostic: null:63 Couldn't resolve reference to JvmIdentifiableElement 'transformationURI'., XtextLinkingDiagnostic: null:64 Couldn't resolve reference to JvmIdentifiableElement 'outResourceURI'.]
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:88)
...
Where QvtoTransformationWorkflowComponent is the first custom-written component invoked in my workflow (extending org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent), with attributes inputSlots, transformationURI, outResourceURI. I have triple-checked the dependencies are in order. The result is the same both if the component is located in the same plugin as the .mwe2 or in another.
How can I make this work?
Thanks in advance!
Juan
|
|
|
|
Powered by
FUDForum. Page generated in 0.02541 seconds