Book a Demo

Author Topic: synchronize with code  (Read 2676 times)

manjunatha

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
synchronize with code
« on: July 02, 2007, 01:10:21 am »
Hi,
1) I am trying to synchronize the class in the model with a updated class. EA shows a different path and says e.g "c:\xys\ " file not found. I am trying to synchronize with a different path . How to instruct EA to pickup the code from a different directory?.
2)I tryed to overwrite all the classes by import source directory option on the new directory , It created all duplicate classes ? How to fix this issue ?

Regards,
Mannjunatha

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: synchronize with code
« Reply #1 on: July 02, 2007, 01:04:06 pm »
You will need to update the filenames for these classes.  This can be done individually, or globally by using local paths (See http://www.sparxsystems.com.au/EAUserGuide/index.html?localpaths.htm) as follows.

Open the local paths dialog. (Configuration | Local Paths) In the path field enter the path that EA currently thinks your files are at, or part of it.
In the ID field enter something like "Source_Path".
In the type field select your source code language.
Click "Apply Path"
This will substitute the path you entered for the ID in all classes containing that path.
Edit the path field to your new path.
EA will now find the files in their new paths.
If you want to you can now click "Expand Path" and then delete that path.
That will remove the relative paths that were created before, setting them back to absolute paths.

To do it individually you can open the Properties Window (View | Properties) and edit the Filename property.

manjunatha

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: synchronize with code
« Reply #2 on: July 02, 2007, 06:44:01 pm »
Thanks alot ... it works  :)