Book a Demo

Author Topic: Synchronize with code--after moving code  (Read 2216 times)

sheila

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Synchronize with code--after moving code
« on: April 16, 2009, 12:18:20 pm »
Hi,

I am new to EA and used it to draw some classes up in a class diagram and then generated c++ code with the class diagram to one directory. I decided I wanted to move the code, so I copied the code from one directory to another. Then I edited the code, deleting some functions and changing others in my code editor and went to sync back up with the EA class diagram. This didn't work. How can I tell EA that my code has moved? Note, I don't just want to reimport the code to generate a new class diagram because I have additional information in the class diagram in the notes etc that would be lost if I did this.
Thanks!

Sheila

Frank Horn

  • EA User
  • **
  • Posts: 535
  • Karma: +1/-0
    • View Profile
Re: Synchronize with code--after moving code
« Reply #1 on: April 16, 2009, 04:11:34 pm »
You'll have to use EA's local path feature:

http://www.sparxsystems.com/uml_tool_guide/code_engineering/localpaths.html

I think the easiest way in your situation is to define a local path for the old code location, apply it, and then change it to the new code location.