Book a Demo

Author Topic: Import keeping "old" information  (Read 2717 times)

Bill Egge

  • EA User
  • **
  • Posts: 93
  • Karma: +0/-0
    • View Profile
Import keeping "old" information
« on: April 26, 2005, 02:16:32 pm »
How can I import source code and have the model remove anyting from itself that is not in the source code?

For instance, If I remove a method in the source file and the re-import the source unit - the method will still be in the model, I want it removed.

This is a problem because I have made many changes to the source code, so many that it would take less time to delete the entire model and start over with a fresh import.  Still, that would be time consuming because I have about 30 classes.
« Last Edit: April 26, 2005, 02:16:51 pm by begge »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Import keeping "old" information
« Reply #1 on: April 26, 2005, 03:37:00 pm »
Tools | Options | Generation | Attribute/Operations.

On reverse synch, delete model attributes not in code.
On reverse synch, delete model methods not in code.

(And in EA 5.0)
On reverse synch, delete model associations not in code.

For the other way around there is
On forward synch, prompt to delete code features not in model.

Simon