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.

Project variables and environment variables dissapears



Hi,


I'm trying to build a project on two computers but it seems that the project variables and environment variables that I have created under build settings for the project on the first computer are missing on the second computer.


I'm using version control and I have checked out the project on computer number 2 and imported it to the workspace. When I checked under build settings my variables are missing. I'm using these variables to make some file paths available to a batch file that I am running after build to create a hex-file and modify it with a custom program.


Why are these variables missing? Am I missing som files in subversion? Is there perhaps another solution to make these variables visible for my batch file?

I have the following files in subversion:

.settings folder

.ccsproject

.cproject

.project

Code composer version: 6.0.1.00040

OS: Windows 7 64 bit SP1



  • Ola Larsson said:
    I'm trying to build a project on two computers but it seems that the project variables and environment variables that I have created under build settings for the project on the first computer are missing on the second computer.

    Are you sure those variables were set at the project level and not workspace level? If they were set at project level, there should be a reference to them in the .cproject and .project files. Can you check those files of the first project and confirm if those variables are in there? If they are not, then those variables were likely defined at the workspace level. If you want them to carry over with the project, then they need to be set at project level (right-click on the project, go to Properties->Build-Variables tab and define it from there).