Book a Demo

Author Topic: Re-enigineering update  (Read 2789 times)

mag

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re-enigineering update
« on: November 28, 2003, 01:26:11 am »
Hello,

I have a C++ header file with some classes and generated an UML class view with EA(3.60.351).  

I added some classes in the header file and called "Synchronize Package Contents" but the new classes appear nowhere (I've searched for them). I don't like to re-import everything because it took me some time to edit it nicely.

What can I do?   ???

Best greetings, Marc  

mbc

  • EA User
  • **
  • Posts: 237
  • Karma: +1/-0
  • Embedded software developer
    • View Profile
Re: Re-enigineering update
« Reply #1 on: November 28, 2003, 03:42:12 am »
When you click "Synchronize Package", EA will go through the classes in your package and synchronize each of them from the file(s) they have associated with them. It will not import any classes that are not present in your package.

You can try importing the file again by right-clicking on the diagram and select Import from Source Files. I seem to remember some discussion here about layout not being preserved when doing that, but I also seem to remember that it was fixed.

In any case, you should backup your model before trying it.

A completely different solution is to do what we do and keep one file for each class.

Mikkel

mag

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Re-enigineering update
« Reply #2 on: November 30, 2003, 11:22:27 pm »
Thank you Mikkel for your suggestions,

I tried to re-import the file as you told me: All classes are added so I have now two instances of each and a big mess in my diagram. This behaviour is not desirable in my opinion.

Separating in several files is also no solution for me, because the file I am documenting is a library interface with many classes with few class members which makes no sense to split up.

I would like the possibility of importing new classes on update to be build in future EA versions.

Best greetings, Marc