Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: zalbina on January 27, 2013, 08:19:09 pm
-
Hi,
Today, suddenly, I found very weird thing related to the reverse engineering. I built some class with the couple functions and attributes in EA, generated source code after that. Everything seems right. I implemented my functions and performed reverse engineering procedure back to EA. Everything seems right again, BUT I desided to add some code to my functions and again generated java code from EA. Just guess what should I see in java code? That's right, CODE, BUT all my functions are EMPTIES. So, I don't know, may be I miss something in my understanding of things, or it's a BUG. I forgot to mention that it happens when I delete first generated code and generate the code again on to the same place.
Thanks.
-
Did not nobody try to do it :'(?
-
Not everybody works their weekends, work - life balance and all!!
-
OK. What does it mean for my company when the code just disappear by this forward and reverse engineering?
Some explanations, please.
-
I think that only your company can judge what it means to them.
q.
-
By default EA doesn't reverse engineer method bodies or overwrite existing ones when generating.
Turn on the reverse engineering option on the Attribute/Operations page of the options dialog and you'll be fine.
-
100%. Thank you very much.