|Erasing a class does not remove it from Papyrus model.uml ? [message #867920]
||Tue, 01 May 2012 14:55
| Alain Lavoie
Registered: April 2012
When trying to import an UML profile, I got an
error saying: "Your uml profile is invalid...". Ok
Going back to the uml profile and using
[Validation] > [Validation model]
I see the red crossed tag on the model explorer.
Looking in the problems "showed view", is see
many line problems on my uml profile, but always refering
to the same mistake:
"The name 'null' is not well formed'.
I imagined my problem was deleted elements from diagram,
but not in the model, so to localize the elements,
I started to delete one by one some uml profiles element
(stereotypes...) in the uml diagram and confirming that
these elements where not in the model anymore by
observing the model explorer.
Now my problem is...
I still have the same problems no matter what I delete
from my model explorer or my diagram.
Looking to the Text file of the model.profile,
I see the existence of the elements I just deleted.
Even after a Papyrus restart, the model.profile
still contains the old references, yet explaining
probably why I keep having the same Validation problems
over and over.
The only solution I can imagine for now, is to re-insert all over the
model profile or act as a surgeon and remove manually
mistaken elements from the model.profile file.
Drawback, I will to re-apply my stereotypes in the client models.
[Q1] Is there an other solution ?
I also notice from
[Open with] > [Sample Refletive Ecore Model editor]
that many instance of old data exists in the file.
[Q2] Is this another way of cleaning my uml profile, in this editor, for instance ?
Powered by FUDForum
. Page generated in 0.02449 seconds