Book a Demo

Author Topic: Directory Synchronization  (Read 4359 times)

unnamedharald

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Directory Synchronization
« on: October 18, 2002, 01:44:22 pm »
Synchronization continues to be extremely frustrating.  Most of the time I get duplicate classes when I synchronize existing classes when I Import Directory Structure (which the Help says can be used to synchronize many files at once).  When I look at the database records the only difference I see between the original class and the duplicated class is the ID number (the filepath is the same).  I HAVE to maintain the original class because it is referenced in so many other places-- yet instead of synchronizing EA seems to just add a duplicate.

mbc

  • EA User
  • **
  • Posts: 237
  • Karma: +1/-0
  • Embedded software developer
    • View Profile
Re: Directory Synchronization
« Reply #1 on: October 20, 2002, 01:38:44 am »
I don't know exactly what the help file says, but I only use "Import directory structure" for first-time importing existing code into a new model. After that, I choose Code Engineering - Synchronize Package Contents - Reverse (or  Forward) from the context menu of a package in the project browser. In that dialog box you can choose "Include child packages in generation", thereby synchronizing everything under the package, that you selected.
After the first import, every class will automatically be associated with the file that it came from. (see Filename in the Properties window).

Mikkel