Book a Demo

Author Topic: synchronization between the model and the source!!  (Read 2717 times)

baze

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
synchronization between the model and the source!!
« on: February 24, 2009, 12:28:00 am »
hi all,

My company uses EA and we have problems with synchronization after making changes to the  source code.
example:
We are making a class model and after it we want to Refactor (move, rename etc.) some class in the source code. The synchronization is done by adding new class in the Class Model not Refactoring the old one, so if we  have attached some file, document ect.  to that class in the model  we lose everything and we need to attach them again to the newly added model class.

Is there other easy way for doing this?!
If you want to made bigger refactporing you lose a lot of time!!!

tnx,
baze

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: synchronization between the model and the sour
« Reply #1 on: February 24, 2009, 08:36:24 am »
If you're changing the name of a class, or moving its source file in code then you'll need to make these changes in your EA model too (before synchronizing) so that EA can still match up the code class to the model class.

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: synchronization between the model and the sour
« Reply #2 on: February 24, 2009, 04:05:53 pm »
What about if class name is changed in EA, will it now to synch?
Recursion definition:
If you don’t understand the definition read "Recursion definition".

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: synchronization between the model and the sour
« Reply #3 on: February 25, 2009, 08:39:34 am »
If a class name has changed in both the source and the model it will synch.  If it has changed in either location but not the other, EA will interpret it as a new class.