Book a Demo

Author Topic: Using Local Directories and Paths settings  (Read 4425 times)

nemethmik

  • EA User
  • **
  • Posts: 21
  • Karma: +1/-0
    • View Profile
Using Local Directories and Paths settings
« on: August 11, 2012, 03:07:01 am »
I work in a multi-designer/programmer team, where multiple developers work with the same model and we use the excellent code generator services of EA extensively. We use the master - replicas model very efficiently, but we have some problems with the multiple local environment. Each deleloper has a different local directory where the source files kept (actually in local GIT directory). I have read the documentation of Local Directories and Paths, I used both the Apply Path and Expand Path successfully. Everything is clear, but, since the actual path value of a Local Path variable (eg. MYAPPROOT) is kept in the EA model, it is the same on replicas after a replica is created. The designer has to change the value of the MYAPPROOT in her/his replica model before generating/synchronizing source code. When he/she synchronizes with the master model, the MYAPPROOT value is changed according to the replica model of synchronized lastly. Is it possible to make a "real"/stable local values for Local Path variable, which is not changed after every master - replica synchronizations? For example, via Windows Environment Variables, or whatever way?
All the Best and Thank You,
Miklos

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Using Local Directories and Paths settings
« Reply #1 on: August 13, 2012, 09:06:22 am »
The value of the local path is not stored in the model. If you're wanting to use local paths then don't use Expand path at all. Apply the path and all developers will need to set its value to the match the setup on their own machine.

nemethmik

  • EA User
  • **
  • Posts: 21
  • Karma: +1/-0
    • View Profile
Re: Using Local Directories and Paths settings
« Reply #2 on: August 13, 2012, 05:31:39 pm »
This sounds excellent. Thank You!
Where is it stored on the local computer? In the registry?
All the Best and Thank You for Your Help,
Miklos

Quote
The value of the local path is not stored in the model. If you're wanting to use local paths then don't use Expand path at all. Apply the path and all developers will need to set its value to the match the setup on their own machine.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Using Local Directories and Paths settings
« Reply #3 on: August 14, 2012, 01:10:46 am »
It's a file somewhere in %APPDATA%/Sparx...

You'll find it like the guy asking the same question recently here.

q.

nemethmik

  • EA User
  • **
  • Posts: 21
  • Karma: +1/-0
    • View Profile
Re: Using Local Directories and Paths settings
« Reply #4 on: August 14, 2012, 02:37:59 pm »
Quote
It's a file somewhere in %APPDATA%/Sparx...
Thank You! Now everything is clear. AtB Miki