Book a Demo

Author Topic: Importing: Add only the new classes  (Read 3054 times)

Mitch

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Importing: Add only the new classes
« on: March 23, 2006, 08:47:11 am »
I've been doing design in EA and then generating code for about 90% of my classes. The other 10% I create in VisStudio. Now I would like to reverse engineer that other 10% so that they are in EA.

I tried src code engineering -> import src directory (recursive). I checked the option to "Synchronize existing classes". This imported everything and I ended up with duplicate classes in EA. In other words it didn't synchronize with the existing class, it just created a new class

Is there a way to recursively go thru the directory tree and only import classes that are not already in EA?

Thanks

Mitch

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Importing: Add only the new classes
« Reply #1 on: March 23, 2006, 01:10:52 pm »
The most common reason for synchronisation to not work, is if the filename of the classes in the model doesn't match the files they are being imported from.  So my first suggestion would be to check that.
« Last Edit: March 23, 2006, 01:11:06 pm by simonm »

Mitch

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: Importing: Add only the new classes
« Reply #2 on: March 23, 2006, 01:27:02 pm »
That was it! Thanks alot. For some reason there was NO filename associated with some of the duplicated classes.

BTW, is there a reason EA allows two classes to have the same name?

Mitch