Book a Demo

Author Topic: Synchronization Question  (Read 4163 times)

Ronaldo Juliatto

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Synchronization Question
« on: March 11, 2004, 09:44:48 am »
Hi, folks

I have imported some code into EA. However, I changed the code and its localization. When I ask EA to synchronize the classes with the code, the program asks me if it is ok to synch from the file at the old location.

How can I tell EA that it has to synchronize code and classes from another location?

Thanks in advance

Ronaldo

benc

  • EA Administrator
  • EA User
  • *****
  • Posts: 200
  • Karma: +0/-0
    • View Profile
Re: Synchronization Question
« Reply #1 on: March 11, 2004, 08:07:01 pm »
Hi Ronaldo,

Two things may help here :

1. You can symbolically define "Local Paths" in EA, which helps when the relative structure of your code base stays the same, but the absolute paths change. For example when you switch machines and C:\blah\project\src becomes D:\blah2\project\src. Search under Local Paths in the help file for more info.

2. You can change the source file associated with a class from the dockable "Properties" window :

i)  Select your class
ii) Bring up the properties view (View | Properties)
iii)Reset the file path.

Next time you synch, EA will use the new path.

I hope this helps.

Regards,
Ben

Matt

  • EA User
  • **
  • Posts: 96
  • Karma: +0/-0
    • View Profile
    • Solutions Reality
Re: Synchronization Question
« Reply #2 on: March 12, 2004, 08:32:32 am »
I have  build an add-in to help with this.  It will allow you to manage all the file paths at a diagram level - an advanced find and replace as it checks that you wish to remap the path.

At the moment it is part of my personal addin toolset, but if you are interested I could try and rip this out for you so that you can see how it works!