[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.modeling.gmt.amw] What is this warning?

Hi (Marcos :)),

So I have 2 transformations that also create the traceability models:
T1 : from UML2 to MMA (outputs : out1 and trace1)
T2 : from MMA to MMB (input: out1, outputs: out2, trace2)


During T2, I'm getting the following warning:


Warning: metamodel contains several classifiers with same name: ElementRef

More specifically, when the following line is executed:

wmodel : Trace!TraceModel (
     wovenModels <- Sequence {model_IN, model_OUT}
   ),


What is interesting (and I don't know if its related) is that when I use setElementIDbyRefType to set xmi:ids of out1, T2 gives the warning and 'internal error launching'.


BUT, if the elements in out1 don't have the xmi:ids previously set with setElementIDbyRefType, then, T2 gives the warning, but proceeds creating the right models (out2 and trace2).


Do you have an idea of what could be going on?


Thanks in Advance!


- Leila