Book a Demo

Author Topic: Obtain VersionControl Metadata via api  (Read 4532 times)

rmartinezb

  • EA User
  • **
  • Posts: 44
  • Karma: +1/-0
    • View Profile
Obtain VersionControl Metadata via api
« on: May 30, 2017, 02:18:19 am »
Hi!
I want to obtain programmatically some information about the version control, for example the url, or the type (SCC, CSV, subversion or TFS) etc.

There's a simple way to do this with the automation interface? I only see the package functions http://www.sparxsystems.com/enterprise_architect_user_guide/12/automation_and_scripting/package_2.html but any of them returns information about the version control.

PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1001
  • Karma: +59/-18
    • View Profile
Re: Obtain VersionControl Metadata via api
« Reply #1 on: May 30, 2017, 02:42:45 am »
Hi,
I have not done this up to now, but the attribute XMLPath could be a starting point, because at least you get the xml file in your “version control” workspace, what you could use to do the rest with the system features of you version control system.
Best regards,

Peter Heintz

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Obtain VersionControl Metadata via api
« Reply #2 on: May 30, 2017, 05:37:39 am »
I haven't set up VC at the moment. But eventually %appdata%...sparx...paths.txt might have the info you need.

q.