Book a Demo

Author Topic: Problems with Source Code synchronization  (Read 3539 times)

tbusch

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Problems with Source Code synchronization
« on: October 23, 2008, 10:34:14 pm »
Hello

I'm just testing Enterprise Architect with a 30 day trial to find out if its suitable.

But I have a major Problem. I imported existing Java Code by into a class model by Code Engineering -> Import Source Directory
The package Structure and all classes and interfaces are displayed.

I now added new classes in the previously imported directories (Outside EA) Then I used the function COde Engineering -> Synchronize Package with SourceCode. Ther i used reverse engineer, which in my opinion should bring the new classes into the class models in EA.

But the new classes are not brought into my class model in EA. Why?
Am I doing something wrong? I think by importing source Code the Package in the EA class model should be linked to the directory where the .java files are located. But this is obviously not the case because my new classes are not detected by synchronize.

I cannot believe that this is a bug, I more think that I'm doing something wrong. But help says that this is the way to do so.

Is there a solution for this problem?

kind regards

timo

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Problems with Source Code synchronization
« Reply #1 on: October 29, 2008, 08:13:31 am »
The synchronize package with source code function synchronizes each class within that package with the source code.  It does not look for additional classes, or remove classes that can't be found.  The Import Source Directory command can do both of these things.