[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.modeling.gmt.amw] Re: AMW2Tracer3_2

Hi Marcos,
First of all thanks for the last response!
And sorry to bug u again...

I'm using the ATL2WTracer3_2 with EMF models and I'm finding some issues with the xmi:id.
Apparently, since i create the elements, set the references and later move the elements around, the references become invalid. The Weaver panel is not able to find and highlight the target elements, when a link in the traceability model is selected.
Does it make sense?


I want to use xmi:ids.
Thus, I was wondering if there is a way to set the xmi:id attribute of my models during the atl transformation, so I when the ref attribute is set (with ref <- outElement.__xmiID__ ), it is an xmi:id (e.g. ref="_11_6_f210365_1174535908974_976104_1357"), and not the EMF one (e.g. ref="/0/@ircfgs.1/@edges.1"/).


I'm thinking that I should extend the XMIResource (and make it generate an id randomly), since the atl compiler uses it to serialize EMF models. Is this true, or I'm missing something? :-).


Thanks Again,

- Leila