Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: vkusuman on June 22, 2009, 08:56:16 pm
-
Hi,
I am trying to synchronize my Java source code with the EA Model, but I find a lot of problems.
1) It doesnt delete the files that are deleted in the code base.
2) doenst pick up the new files in the code base.
But it finds the changes to the existing classes and updates the model.
I couldnt find any options to set while doing this sync.
Please enlighten me.
Thanks,
VK
-
The Import Source Directory command is able to both detect new files and deleted files. The Synchronize Package command will not do that.
-
Hello.
I try the import Source Directory command but when I import classes already existing in the model, the classes are created for the second time.
How I can do to import only new classes ?
Regards
-
Check out the various Tools | Options pages, and play around with the settings on the import dialog. You will find the correct settings.
I think there's an overview of the settings in either the white papers or tutorials on the Sparx site. Check out the Resources page; it is a useful place to look for ideas for anything relating to EA.
[edit]But see Simon's note below, covering a point I failed to mention. That should be the first thing you should check.[/edit]
-
The most common cause of duplication during import is that the path has changed. Look at Local Paths (http://www.sparxsystems.com/uml_tool_guide/code_engineering/localpaths.html) to see how to deal with this.