Using Local Directories and Paths settings

389 views
Skip to first unread message

nemethmik

unread,
Aug 10, 2012, 1:07:00 PM8/10/12
to sparx-enterprise-archite...@googlegroups.com
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

[original message]

M@localhost Simon M

unread,
Aug 12, 2012, 7:06:00 PM8/12/12
to sparx-enterprise-archite...@googlegroups.com
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.
[original message]

nemethmik

unread,
Aug 13, 2012, 3:31:00 AM8/13/12
to sparx-enterprise-archite...@googlegroups.com
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



766C686A6B68050 wrote:
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

unread,
Aug 13, 2012, 11:10:00 AM8/13/12
to sparx-enterprise-archite...@googlegroups.com
It's a file somewhere in %APPDATA%/Sparx...

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

q.

[original message]

nemethmik

unread,
Aug 14, 2012, 12:37:00 AM8/14/12
to sparx-enterprise-archite...@googlegroups.com

12140611171A630 wrote:
It's a file somewhere in %APPDATA%/Sparx...

Thank You! Now everything is clear. AtB Miki
[original message]
Reply all
Reply to author
Forward
0 new messages