Book a Demo

Author Topic: Access working copy path with automation?  (Read 4409 times)

manfredw

  • EA User
  • **
  • Posts: 47
  • Karma: +0/-0
  • gaudeo ligneo!
    • View Profile
Access working copy path with automation?
« on: January 31, 2013, 02:38:27 am »
Hello folks,

I've got another question.
I'm writing an add-in for EA that should use the version control connection for the current loaded projet.

Is it possible to access the workling copy path and the svn repository url via automation?

I've searched this forum and the EA Automation model but I didn't find anything.

Many thanks in advance!

best regards
Manfred

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Access working copy path with automation?
« Reply #1 on: January 31, 2013, 04:27:58 am »
In t_package.PackageFlags you will find something like VCCFG=<VC>;
The value for <VC> is found in %APPDATA%\Application Data\Sparx Systems\EA\paths.txt

q.

manfredw

  • EA User
  • **
  • Posts: 47
  • Karma: +0/-0
  • gaudeo ligneo!
    • View Profile
Re: Access working copy path with automation?
« Reply #2 on: January 31, 2013, 08:08:47 pm »
Hi qwerty,

thanks for the hint!
I'just tried it, that's great to find the local working copy path. 8-)

Any chance sombody knows how to find the version control repository url as well?

Many thanks in advance
have a nice day!
Manfred

manfredw

  • EA User
  • **
  • Posts: 47
  • Karma: +0/-0
  • gaudeo ligneo!
    • View Profile
Re: Access working copy path with automation?
« Reply #3 on: January 31, 2013, 09:25:15 pm »
Oh, well nevermind, I had some missunderstanding going on in my head... :-/

The association between the local copy folder and the svn repository is maintained by svn, not EA.
So no need to retrieve this info.
All is well now  :)

cheers!
Manfred