Author Topic: Adding local path entries via API  (Read 3270 times)

Marty Burns

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Adding local path entries via API
« on: January 15, 2013, 03:12:35 am »
We have an application that needs a local path entry (the “Settings\Local Directories and Paths”). We want to reference this path in notes fields in the model. This allows us to "localize" a repository to a particular developers desktop allowing the repository to be otherwise shared.

Can we add an etry to this via the API?

Thanks,
Marty

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Adding local path entries via API
« Reply #1 on: January 15, 2013, 03:22:08 am »
Not sure what you want to add where. The paths are stored in a file in %APPDATA%/Sparx... and you can manipulate it at will.

q.

Marty Burns

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Adding local path entries via API
« Reply #2 on: January 15, 2013, 03:37:34 am »
Thanks. So basically the file paths.txt needs to be edited, right.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Adding local path entries via API
« Reply #3 on: January 15, 2013, 03:55:04 am »
Yes. Not sure whether EA reads that file only once at start (I guess so) or each time a path is read by EA.

q.