Tool/software:
Hello Folks -
We are seeing some strange behavior in how our MSP430 project workspace gets recognized by different build environments. We currently have a multi-root workspace with CCS 20.2.0. The individual project directories have project metadata files, but the top-level workspace only contains a .theia-workspace file. Below is a simplified listing of the project layout:
/tmp/workspace ├── BOOTLOADER │ ├── .ccsproject │ ├── .cproject │ ├── .gitignore │ ├── .launches │ ├── .project │ └── .settings ├── SHARED │ ├── .ccsproject │ ├── .cproject │ ├── .gitignore │ ├── .launches │ ├── .project │ └── .settings ├── APP │ ├── .ccsproject │ ├── .cproject │ ├── .gitignore │ ├── .launches │ ├── .project │ └── .settings └── msp430.theia-workspace
Our development team uses macOS, and they can build either inside the IDE or from the CLI by pointing to the .theia-workspace file using the following command:
ccs-server-cli.sh -workspace /tmp/workspace -application projectBuild -ccs.workspace
Our CI build environment is a Docker container running Ubuntu, and the same command fails to find any projects in the workspace.
# ================================================================================ # [Fri Jun 27 14:44:42 UTC 2025]: CCS headless build starting... # ---------------------------------------- # -------------------------------------------------------------------------------- # [Fri Jun 27 14:44:42 UTC 2025]: CCS headless build complete - 0 out of 0 projects have errors
Instead, we need to run importProject on each individual project first.
ccs-server-cli.sh -workspace /tmp/workspace -application projectImport -ccs.location BOOTLOADER ccs-server-cli.sh -workspace /tmp/workspace -application projectImport -ccs.location SHARED ccs-server-cli.sh -workspace /tmp/workspace -application projectImport -ccs.location APP
After that the build command succeeds without issue. However, the import commands make no changes to the workspace file system. So I cannot figure out what has changed to allow the build, and therefore what changes we need to make to the workspace to ensure the builds can run immediately in the CI environment without additional importing.
How should we modify our workspace to be more friendly to the CLI builds since it appears the .theia-workspace file is not fully sufficient?
 
				 
		 
					 
                           
				