Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums[oaw] metamodel referencing
https://www.eclipse.org/forums/index.php/mv/msg/176801/562565/#msg_562565
When we refer to a UML2 metamodel element like this http://www.eclipse.org/uml2/2.0.0/UML#//Property
It works fine when using a model based on this metamodel in a oaw workflow.
The standard ecore editor saves the UML2 references like this however:
.../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Prop erty
and that trips up the oaw workflow with an exception like stated below.
Is there a way to make these relative metamodel references work in oaw?
I did put my vote up in bugzilla for emf to have a choice between relative
or absolute referencing registered plugin models, but in the mean time it
would be great if you could support the relative referencing as well.
Regards,
Hans
1663 ERROR WorkflowRunner -
org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Value
'MyElementName' is not legal.
(file:/C:/Documents%20and%20Settings/Hans/Eclipse%203.3%20pr ojects/my.generator.project/bin/model/test.model,
3, 105)
.......
at org.openarchitectureware.emf.XmiReader.invoke(XmiReader.java :83)
at
org.openarchitectureware.workflow.container.CompositeCompone nt.internalInvoke(CompositeComponent.java:81)
at
org.openarchitectureware.workflow.container.CompositeCompone nt.invoke(CompositeComponent.java:69)
at
org.openarchitectureware.workflow.WorkflowRunner.executeWork flow(WorkflowRunner.java:236)
at
org.openarchitectureware.workflow.WorkflowRunner.run(Workflo wRunner.java:177)
at
org.openarchitectureware.workflow.WorkflowRunner.main(Workfl owRunner.java:126)]]>Hans Boerstra2007-02-16T20:20:43-00:00