Book a Demo

Author Topic: Package attribute / XMLPath  (Read 2891 times)

pauli

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Package attribute / XMLPath
« on: October 29, 2009, 08:51:42 pm »
I have packages under configuration control in my model and there is an XML file relating to each of these packages.

I want to retrive the full path of these XML files from my EA add-in.

I am using the Package attribute / XMLPath, but it only returns a relative path and I want the full local path.

For example, in package control, the XML path looks like this:

%MY_UNIQUE_ID%\dir1\dir2\mypackage.xml

The package attribute XMLPath returns \dir1\dir2\mypackage.xml
but not the full local path.

lubos

  • EA User
  • **
  • Posts: 101
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Package attribute / XMLPath
« Reply #1 on: October 29, 2009, 10:55:23 pm »
The rest of the path (prefix) is given by choosen VersionControl profile.
You can find the name in PackageFlags Column

...VCCFG=VCCProfileName;....

and the path itself in

"c:\Documents and Settings\USER\Application Data\Sparx Systems\EA\paths.txt"  

for given VC profile.
I hope this is not only ClearCase (that we use) specific advice ;-)