|Re: ANSI-C-model and dealing with redundant references [message #641421 is a reply to message #640801]
||Thu, 25 November 2010 12:12
| Tom Brandenburg
Registered: October 2010
Location: Abstatt, Germany
Ok, I didn't check whether defining "<metaModel class="org.eclipse.xtend.typesystem.uml2.UML2MetaModel"/>" is relevant. Again for understanding: I have a Ecore-metamodel (ANSIC) and I load an UML model (some model of a project which is not referenced here) which I want to transform according to the Ecore metamodel. So in general it is a transformation from UML to ANSIC. So the top function is:|
create ansic::Model this createModel(uml::Model m) :
Therefor I thought to reference my EmfMetaModel (ANSIC) and the UML2MetaModel so that Xtend knows uml:: and ansic::.
But maybe I got something wrong?
I am not so much into AOP. Nevertheless I already have some workarounds for my stated problem above. I just look for references equal to null and check whether there are some others. For this I had to change the code of the ViPER project, but this is the only way how it works with me by now.
[Updated on: Thu, 25 November 2010 12:15]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02667 seconds