Other Parts Discussed in Thread: CCSTUDIO
Similarly to the OP in the related question, I have a project with several target configurations (.ccxml) and debug configurations (.launch) for connecting to different combinations of debuggers using specific serial numbers, and want to be able to share these with colleagues without having to change the path in every single one.
After reading the related question, I can now set the .ccxml pointed at by each .launch using
${target_config_active_default:nameofmyproject}
instead of an absolute path. This is a good start.
However, the launch XML file refers to the .ccxml specified to set other parameters, and the relative path does not work here.
For example, if I want to specify the .out from the project to be loaded, this does not work:
<stringAttribute key="com.ti.ccstudio.debug.debugModel.ATTR_PROGRAM.${target_config_active_default:nameofmyproject}.Texas Instruments XDS100v2 USB Debug Probe Lane 1/C28xx_CPU1" value="${build_artifact:nameofmyproject}"/>
Using the debug configuration editor causes the absolute path to be written into the key field in the XML file instead of the relative path above, which causes problems when the file is used on a different machine.
Is there a way to use relative paths to set the other parameters? Otherwise being able to specify a relative path to the .ccxml is pointless.







