Cause

When project analysis fails after executing the [Import Project] feature, verify whether the file paths included in the imported project exceed the maximum allowable path length. Below are the solutions for when the file paths included in the imported project are too long.

Solution

Modify CT setting

Modify the directory path used to store existing source code and toolchain-related files to address excessively long file paths when importing a project.
  1. Open [CT installation path]\plugins\com.codescroll.gp.rcp.helios_XXXXXX\plugin_customization.ini.
    • default installation path: C:\Program Files\Suresoft\CT 2024
  1. Find the following line: #com.codescroll.gp.prj/project.import.directory.
  2. Remove the # to uncomment the setting.
  3. Replace the imported directory path with a shorter path.
    • default path: %APPDATA%\CodeScroll\1.1\imported
Before
# When importing a project, enter the path to save the toolchain system header and source files. (The separator must be \\.)
# (default: %appdata%\\CodeScroll\\1.1\\imported)
# com.codescroll.gp.prj/project.import.directory=%appdata%\\CodeScroll\\1.1\\imported
After
# When importing a project, enter the path to save the toolchain system header and source files. (The separator must be \\.)
# (default: %appdata%\\CodeScroll\\1.1\\imported)
com.codescroll.gp.prj/project.import.directory=D:\\imported

Increase the Command Prompt Character Limit in Windows
Sometimes, the analysis command might not execute due to the character limit in the command prompt. In such cases, change the character limit set in Windows for the command prompt. For detailed instructions, please refer to Microsoft Trouble shooting.

Need more help with this?
Don’t hesitate to contact us here.

Thanks for your feedback.