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 项目

Guru**** 2563960 points
Other Parts Discussed in Thread: CCSTUDIO

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1206535/building-ccs-projects-from-commandline

主题中讨论的其他器件:CCStudio

嘿、我正在尝试将 CCS 与我们的 GitLab Runner 一起使用。 然而,不管我是使用我的笔记本电脑还是构建服务器,它会失败。
即使是您网站(https://software-dl.ti.com/ccs/esd/documents/ccs_projects-command-line.html)上的第一个命令也是如此

返回错误:


Set-Alias -Name CCStudio -value 'D:\ti\ccs1210\ccs\eclipse\CCSTUDI.exe'
eclipsec -noSplash -data。 -application com.ti.ccstudio.apps.projectBuild -ccs.projects projectName -ccs.buildType full
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    例如、当我尝试构建一个项目时、我得到以下输出、但不会生成任何内容:

    Usage:
            eclipsec -noSplash -data "<workspace_dir>"
                    -application com.ti.ccstudio.apps.buildProject
                    (-ccs.projects <name1>[ <name2>]* | -ccs.workspace) [<options>]
    
    where options include:
            -ccs.projects <name1>[ <name2>]*
                    Space-separated list of projects to build.
    
            -ccs.workspace
                    Build entire workspace.
    
            -ccs.configuration <name>
                    The build-configuration to build (optional).
                    Defaults to active build-configuration.
    
            -ccs.buildType (incremental | full | clean)
                    The type of build to perform (optional).
                    Defaults to 'incremental'.
    
            -ccs.listErrors
                    List all errors after build completes (optional).
    
            -ccs.listProblems
                    List all errors and warnings after build completes (optional).
    
            -ccs.autoOpen
                    Automatically open any closed projects (optional).
    
            -ccs.args <file>
                    File containing any extra arguments (optional).
    
            -ccs.help
                    Print this help message.

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    Unknown 说:
    eclipsec -noSplash -data。 -application com.ti.ccstudio.apps.projectBuild -ccs.projects projectName -ccs.buildType full

    请仅从系统控制台(DOS 命令窗口)运行此命令。 您会得到相同的结果吗?

    谢谢

    小标题

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    谢谢、为什么这些命令不能用于 Windows PowerShell?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    谢谢您,为什么这些命令不能用于 Windows PowerShell?

    请参阅:

    https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/629581/ccs-building-code-composer-studio-project-from-windows-powershell/2322839#2322839

    谢谢

    小标题