This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Cannot resolve WORKSPACE_LOC

Hello!

I have my main project which is inside workspace folder, let say "WS". I have all linked resources that this project uses inside this WS folder. So, basically project folder is totally portable. I'm using WORKSPACE_LOC path variable (which can be found in Properties->Resources->Linked Resources) and it always lead to my current workspace folder no matter where it is actually located. Then I use in Properties->Build->Variables in the field ORIGINAL_PROJECT_ROOT as a path following path: ${WORKSPACE_LOC}\MyProject. So, I can move and rename my workspace folder WS anywhere and anyhow on my machine and it works correctly. I can move my workspace to my laptop and run it there and it also works fine. But when I move my workspace to my colleague's PC it gives an error, saying something like "cannot resolve WORKSPACE_LOC". He has a Win7 and the same version of CCS as I do, everything works fine on my PC (winXP) and on my laptop (win8), but not on my collegues PC. However, when I change the path manually to the project folder (providing absolute path) then it works fine. But we need fully portable project. Any clue why it's happening?

  • Hi Andrei,

    I wonder if the user name or account login migh somehow be one thing causing this.  At any rate, it does not surprise me.  It might be more efficient to export the project and import it on the other pc.  (File-> Export) Are you using revision control?

    Have a look at these wikis and please keep us informed.

    http://processors.wiki.ti.com/index.php/Project_Sharing

    http://processors.wiki.ti.com/index.php/Portable_Projects

    Best Regards,

    Lisa

  • Hello Lisa,

    I have looked through those links, but exporting the project is not suitable option for us. We are using fully independant project with all linked files and libraries inside the workspace folder and the structure of the project is getting ruined a bit after exporting it using standart tools, but anyway it's not the issue.

    BTtw, what do you mean by "revision control"? Anyway after I set a tick on Properties->Build->Variables --> Show system variables, I was able to discover that there is defined variable WORKSPACE_LOC in that list on my PC, however on my colleagues PC there is only workspace_loc (lowercase) which leads to some ECLIPSE DYNAMIC VARIABLE. I can chose another variable, for instance PROJECT_ROOT which leads to the same path as my WORKSPACE_LOC variable, and then everyghing works fine. I just wonder now why WORKSPACE_LOC isn't defined on my collegues PC.

    Thank you for assistance

  • HI Andrei,

    glad you were able to find out a work around/the cause.  That is odd that WORKSPACE_LOC would not be defined.

    At any rate, all the best with development.

    Best Regards,

    Lisa