|
Re: [QVTO] transforming profile-based models revisited [message #104358 is a reply to message #104339] |
Sat, 02 May 2009 15:03 |
Alexandre Torres Messages: 139 Registered: July 2009 |
Senior Member |
|
|
It worked after a lot of clean up. Important things to note are:
(So, it was my fault at the end)
1. The org.eclipse.uml2.uml.generated_package must point to the object id
of the profile (#_blablablah)
http://dev.eclipse.org/newslists/news.eclipse.modeling.mdt.u ml2/msg00819.html
2. Every time I run define on my profile after I apply the ecore, it
stoped working.
3. Keep a copy of the original profile before applying ecore. Use this
copy to make changes, re-define, and them reapply ecore, regenerate
genmodel and model. 4. It's a painfull process, better keep backup of all
stages. Try with a small profile first.
5. The profile must be 100% out of errors. If the genmodel points errors,
correct them in the original profile, redefine, copy, reapply ecore,
regenerate all.
6. Your old model will need manual XMI cleanup to run with the static
profile. It looks like it does not support very well the versioning system
of the dynamyc profiles. I had to remove several references to old
definitions before it works.
By the way, one of those days I will need a tool to help me out in this
clean up :)
It took +8 hours for me to set up my old profile. A good old #include
would be much more easier.
|
|
|
Powered by
FUDForum. Page generated in 0.03281 seconds