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.

.ccsproject Remains Unmodified

Hello,

I'm using CCS 12.4.

This a minor problem but I noticed that the .ccsproject file is not updated according to the project configuration or CCS version in use. Is this file used anymore? If not, I can remove it from the tracked file list in our repo.

The items highlighted below don't match the actual condition of the project:

Thank you.

  • The .ccsproject file has information that is applicable to when the project was first generated. It is typically not updated anymore, however the CCS project manager may still reference this file to get the original values when the project was created. This file is still important to the project and must be present for the project to be considered a valid CCS project. I did notice that CCS sometimes "touches" the file in the sense that the content doesn't change but the timestamp of the file does. 

    I would recommend to continue keeping it tracked in your repo.

    Thanks

    ki

  • Many thanks.

    I did some other tests. When I deleted the file entirely CCS didn't seem to mind, it just created a stub file containing the following:

    <?xml version="1.0" encoding="UTF-8" ?>
    <?ccsproject version="1.0"?>
    <projectOptions>
    	<deviceFamily value="Arm"/>
    	<isTargetManual value="true"/>
    </projectOptions>

    Importing the project using a new workspace went smoothly too.

    Think I'll compromise and reduce the file to its minimum as above.

  • Think I'll compromise and reduce the file to its minimum as above.

    I really do not recommend you manually modify the file in any way. These files are generated by CCS and not meant to be altered manually.

  • Just to be clear, the file was not manually modified. The file was generated by CCS after I deleted the original containing incorrect information then launching CCS. The minimized file seems to be enough to keep CCS happy but without containing garbage.

    When I said "reduce" I meant commit the newly auto-generated minimized file.

  • The file was generated by CCS after I deleted the original containing incorrect information then launching CCS. 

    I also meant this also when I referred to "manually modify". I would not recommend manually deleting the file either. It is *probably* fine but this is something we do not expect users to do.