TMS320F28377S: Command Line Build - Project not found

Part Number: TMS320F28377S

Running ccs-server-cli.bat to build projects on my development machine works, but it doesn't work on what we use as a build machine. The error is that it can't find the project. The project folder is there. though. Output below.  Where does ccs-server-cli.bat look to determine that a project is present?

Thanks in advance,

Paul Hetherington

 

C:\Projects>dir
 Volume in drive C is Windows
 Volume Serial Number is E072-8C7A

 Directory of C:\Projects

04/07/2026  09:23 AM    <DIR>          .
01/17/2023  10:01 AM    <DIR>          Builds
04/07/2026  09:28 AM    <DIR>          CMCScannerPlusPlus
04/07/2026  09:22 AM    <DIR>          CMCScannerPlusPlus - ORIG 040726
07/21/2023  01:00 PM    <DIR>          DirectConnect
07/31/2025  12:16 PM    <DIR>          dsp
10/29/2024  03:23 PM    <DIR>          dsp-devops
06/29/2023  02:32 PM    <DIR>          TJC
06/27/2023  01:51 PM    <DIR>          TJ_Standalone
               0 File(s)              0 bytes
               9 Dir(s)  16,188,256,256 bytes free

C:\Projects>c:\ti\ccs2050\ccs\eclipse\ccs-server-cli.bat -workspace "C:\Projects"  -application com.ti.ccs.apps.buildProject -ccs.projects CMCScannerPlusPlus -ccs.configuration DEBUG_FLASH -ccs.buildType full --ccs.listErrors

# ================================================================================
# [Tue Apr 07 10:38:12 EDT 2026]: CCS headless build starting...


!WARNING: Project 'CMCScannerPlusPlus' was not found in the workspace - ignoring...
    NOTE: use the '-ccs.autoImport' argument to automatically import projects found in the workspace root directory.


# ----------------------------------------

# --------------------------------------------------------------------------------
# [Tue Apr 07 10:38:12 EDT 2026]: CCS headless build complete - 0 out of 0 projects have errors


C:\Projects>cd CMCScannerPlusPlus

C:\Projects\CMCScannerPlusPlus>dir
 Volume in drive C is Windows
 Volume Serial Number is E072-8C7A

 Directory of C:\Projects\CMCScannerPlusPlus

04/07/2026  09:28 AM    <DIR>          .
04/07/2026  09:23 AM    <DIR>          ..
04/06/2026  05:27 PM               799 .ccsproject
04/07/2026  10:20 AM               160 .clangd
04/06/2026  06:05 PM           117,711 .cproject
01/15/2026  10:58 AM               578 .gitignore
04/07/2026  09:28 AM    <DIR>          .launches
04/06/2026  05:27 PM             1,847 .project
04/07/2026  09:13 AM    <DIR>          .settings
04/07/2026  09:13 AM    <DIR>          .theia
04/07/2026  10:28 AM             1,547 CMCPlusPlusBuild.ps1
04/06/2026  05:57 PM               207 CMCScannerPlusPlus.theia-workspace
12/18/2025  11:50 AM                69 CMCScannerPlusPlus_WS.theia-workspace
04/07/2026  09:13 AM    <DIR>          cmd
04/07/2026  10:23 AM    <DIR>          DEBUG_EXT_RAM
04/07/2026  09:13 AM    <DIR>          DEBUG_FLASH
04/07/2026  09:13 AM    <DIR>          DEBUG_GOLDEN
04/07/2026  09:13 AM    <DIR>          DEBUG_INT_RAM
04/07/2026  09:13 AM    <DIR>          DEBUG_UPDATE
04/07/2026  09:13 AM    <DIR>          Doc
04/07/2026  09:13 AM    <DIR>          dsp_shared
04/07/2026  09:13 AM    <DIR>          ExampleBuildOutput
08/07/2025  04:34 PM             9,069 FPGA_MEMORY_MAP.cmd
04/07/2026  09:13 AM    <DIR>          gel files
04/07/2026  09:13 AM    <DIR>          inc
04/07/2026  09:13 AM    <DIR>          lib
04/07/2026  09:13 AM    <DIR>          PinMuxGenerated
07/31/2025  12:42 PM             2,080 README.md
04/07/2026  09:13 AM    <DIR>          src
04/07/2026  09:13 AM    <DIR>          targetConfigs
              10 File(s)        134,067 bytes
              20 Dir(s)  16,188,203,008 bytes free

C:\Projects\CMCScannerPlusPlus>

 

  • Update:

    I tried the   '-ccs.autoImport'  and the command line builds began working.

    .cproject was touched (its timestamp changed) but otherwise was not modified. I can't find any files that were changed by -ccs.autoimport.

    What file(s) were changed?  I'd like to include them in source control so this doesn't need to be repeated.

    Thanks,

  • HI Paul,
    Looking into it, will get back to you.
    Regards,
    Lakshya 

  • I tried the   '-ccs.autoImport'  and the command line builds began working.

    Projects must be imported to the workspace before they can be built. Please note that when building via CLI, just because the project folder physically resides in the workspace being referenced doesn't mean that the project has been "imported". There is also some information that needs to be written to the workspace metadata for the project to be officially imported. When using CCS IDE, the IDE will scan the workspace folder to see there is a project folder in there that is missing metadata and if so, it will generate it automatically (properly import it). This doesn't happen from CLI so you need to make sure that the projects are correctly imported first.

    I can't find any files that were changed by -ccs.autoimport.

    It is in workspace metadata in the CCS cache. These files are typically not version controlled. Hence it is good practice to use the -ccs.autoimport flag when building from CLI.

    Thanks

    ki