Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsUML profiles and MIWG Test Case 3
https://www.eclipse.org/forums/index.php/mv/msg/197102/628515/#msg_628515
I'm playing with profiles and profile applications for some time, and it works quite well. But in my XMI files I have those xmi:Extension nodes that result from calling define() on a profile which adds ecore elements to the xmi files. Can this be avoided? Or, are there plans to make this obsolete and conform to the MIWG test case 3?
My first approach was to save profiles without define()ing them and to call define after loading them. This way I only have xmi extensions in my model and not in my profile xmi. But I consider this risky, because my models refer to ecore elements for the applied profiles. So if for the profile other xmi.ids are generated after loading them the next time, then my model that applies that profile will fail to load, because the ecore element references cannot be resolved anymore. This didn't happen so far, but I feel unsecure. Shall I better save a profile after calling define() instead?
Thanks for any hints!
Thomas Neustupny]]>Thomas Neustupny2010-06-14T09:57:09-00:00