Book a Demo

Author Topic: How can I get the "Local Project path" setting?  (Read 4140 times)

Jim Koke

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
How can I get the "Local Project path" setting?
« on: February 10, 2011, 05:16:13 am »
I've searched the forums for "Local Project path" and the Java interface docs, and cannot find anything that will give up that path.  I need this for a routine that will automatically (read "correctly") put a package under individual version control, so I need to create a path within the version control system (per project rules) to contain the .xml file.

Any help is appreciated.
Thanks

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How can I get the "Local Project path" setting
« Reply #1 on: February 10, 2011, 06:54:44 pm »
I'm not sure if there is an API function to read/write the paths, but you can find them in your profile at:
\Application Data\Sparx Systems\EA\paths.txt

Geert

Jim Koke

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: How can I get the "Local Project path" setting
« Reply #2 on: February 11, 2011, 12:22:50 am »
The connection string and the path to the controlled files are different.

The paths.txt file has what I need - Thanks to all.