Book a Demo

Author Topic: synchronizing existing model with code  (Read 2224 times)

Cryolitte

  • Guest
synchronizing existing model with code
« on: March 22, 2005, 02:10:52 pm »
Hi all,

I'm doing a fair bit of reverse engineering from code that is constantly evolving. This means that methods, attributes, and classes are added and deleted frequently (to the code, that is).

Under Tools -> Local Options -> Generation -> Attribute/Operation, there are only options to delete methods and attributes not in code (when reverse synch).

So my question is: upon reverse synch, can I have the classes, that are in the model and not in code, deleted?

TIA.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: synchronizing existing model with code
« Reply #1 on: March 22, 2005, 03:41:32 pm »
The short answer is no.

The long answer might be something like...

EA only touches the classes that it sees in code when reverse engineering.  I could imagine it seeing that a file doesn't exist, or that the class isn't contained in the file specified.

Then I imagine someone working on a model, doing a reverse engineer and their classes get deleted because they haven't been generated yet.

Having said that, I imagine that it may be possible to write an addin that delete classes in the model not found in code on either of the conditions above.

Simon