I posted on this before but the question has changed enough to start over.
I want to use the same basic CFG in multiple projects, production and test. I want to add tasks, timers, etc to the test CFG without having to create unused stubs in the production. In ccsv4 I could import a different TCI file for production and test. The include path was a bit different between editting and compiling but I figured it out.
But, in ccs5 I cannot get the include to work in editting. The CFG file resides in the production project folder. I added the production CFG to the test project as a link. I created the file UnitTest.tci in the test project folder.
If I put
utils.importFile("UnitTest.tci", "<absolute path"); or
utils.importFile("UnitTest.tci", "<relative path");
in the CFG then the editor cannot find UnitTest.tci.
If I put
utils.importFile("<absolute path>\UnitTest.tci");
then the editor can find the file.
If I put
utils.importFile("<relative path>\UnitTest.tci");
then the editor cannot find the file.
How can I get the editor to import a file from a relative path?