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.

Existing executable (*.out) file gets deleted during project import

Hi Ki,

As an add on to this issue, when I generate a new workspace and import that project, it seems to delete any previously built .out and .hex files (but not .bin) without noting it in any output, log, or anything. It took me several hours of statting a file to figure out that the projectImport step is making this happen, which is really hurting our build environment. Is there a workaround to get CCS to not do this?

Here's the snippet of the log that shows what's happening between the two eclipse invocations:

  File: '/home/kaveh/.cache/bazel/_bazel_kaveh/b832b9df9e18c510c86dd5683a324405/execroot/c3d/bazel-out/clang_k8-opt/bin/realtime/SystemBoard/Debug/SystemBoard.out'
  Size: 4970752         Blocks: 9712       IO Block: 4096   regular file
Device: 801h/2049d      Inode: 664987      Links: 1
Access: (0644/-rw-r--r--)  Uid: (  503/   kaveh)   Gid: ( 1000/   kaveh)
Access: 2017-01-18 14:45:57.044000000 -0800
Modify: 2017-01-18 14:45:57.028000000 -0800
Change: 2017-01-18 14:45:57.028000000 -0800
 Birth: -
error: XDG_RUNTIME_DIR not set in the environment.
Eclipse: Cannot open display:

--------------------------------------------------------------------------------
Importing project from '/home/kaveh/.cache/bazel/_bazel_kaveh/b832b9df9e18c510c86dd5683a324405/execroot/c3d/realtime/SystemBoard'...


Done!
Eclipse:
GTK+ Version Check
stat: cannot stat '/home/kaveh/.cache/bazel/_bazel_kaveh/b832b9df9e18c510c86dd5683a324405/execroot/c3d/bazel-out/clang_k8-opt/bin/realtime/SystemBoard/Debug/SystemBoard.out': No such file or directory



Kaveh