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.

CCS/CODECOMPOSER: CCS deletes .out during build which removes it from version control

Part Number: CODECOMPOSER

Tool/software: Code Composer Studio

I've just noticed that across consecutive builds and subversion commits that the build output (.out) files gets marked as deleted resulting in no record of the final binary being kept in the repository. Next time round the .out does get added as it is now appearing as an added file. Has anyone else observed this side affect of the build deleting the .out file during rebuild? Has anyone got ideas on how to prevent the file being marked as deleted?

Ideally the .out file would just be modified each rebuild so that SVN maintains a record of the actual binary you ended up for downloading to the target.

  • Hi Jamie

    Jamie Wardlaw said:
    Has anyone else observed this side affect of the build deleting the .out file during rebuild?

    This is the expected behavior. The only time the .out file will not be deleted during a build if the .out file is already up to date for an incremental build and hence a new .out does not need to be generated.

    Thanks

    ki

  • I understand the behaviour, i'm just curious as to workarounds people may have to put in place to ensure that on a commit to the repository you get the new .out file in there. The deletion marks the file for deletion from the repository even though it still exists. There should be some way to have the flag for deletion in the repository removed once the new .out file is available.
  • Jamie, sorry for the delayed response. I don't have a good answer myself. I looked around online and saw some threads like:
    stackoverflow.com/.../tortoisesvn-how-to-revert-files-marked-for-delete

    Hopefully some others on the forum who have gone through the same headache can also provide their insights.

    ki
  • The method at stackoverflow does not work within the IDE. All I found that can work is to remember to re-commit the .out immediately after the commit that deletes it. Not ideal but this is not a CCS problem, it is the SVN plugin that should be improved. So not really for this forum.