TI中文支持网
TI专业的中文技术问题搜集分享网站

CCSTUDIO: CCStudio命令行Build不成功

Part Number:CCSTUDIO

参照CCS的帮助文档,或者“Create and Build Projects Using Command Line",总是失败。

摘取网页中描述:

项目workSpace位于“D:\Workspace_CCS”

workSpace中已有项目:testProject

以下为命令行操作记录:

1.执行命令,构建项目testProject:

eclipsec -noSplash -data "D:\Workspace_CCS" -application com.ti.ccstudio.apps.projectBuild -ccs.projects testProject -ccs.configuration Debug

PS D:\> eclipsec -noSplash -data "D:\Workspace_CCS" -application com.ti.ccstudio.apps.projectBuild -ccs.projects testProject -ccs.configuration Debug
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

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.workspaceBuild 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.listErrorsList all errors after build completes (optional).-ccs.listProblemsList all errors and warnings after build completes (optional).-ccs.autoOpenAutomatically open any closed projects (optional).-ccs.args <file>File containing any extra arguments (optional).-ccs.helpPrint this help message.

PS D:\>

2.执行命令,构建workspace中全部活动项目:

eclipsec -noSplash -data "D:\Workspace_CCS" -application com.ti.ccstudio.apps.projectBuild -ccs.workspace

PS D:\> eclipsec -noSplash -data "D:\Workspace_CCS" -application com.ti.ccstudio.apps.projectBuild -ccs.workspace
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

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.workspaceBuild 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.listErrorsList all errors after build completes (optional).-ccs.listProblemsList all errors and warnings after build completes (optional).-ccs.autoOpenAutomatically open any closed projects (optional).-ccs.args <file>File containing any extra arguments (optional).-ccs.helpPrint this help message.

PS D:\>

可以看到,执行命令后,都是先出现SLF4J的警告,然后出现帮助信息。

根据以下网页中的信息知道SLF4J警告不会影响命令正常执行

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1181502/ccstudio-slf4j-failed-to-load-class-org-slf4j-impl-staticloggerbinder

请问从命令行Build项目的正确方式是怎样的?

Taylor:

您好,

已经收到了您的案例,调查需要些时间,感谢您的耐心等待

,

Daniel:

您好

根据您的描述,您是成功建立了项目,相关报错在帖子中有说明相关细节,没有理解您的诉求,请您方便再次详细一下吗?

赞(0)
未经允许不得转载:TI中文支持网 » CCSTUDIO: CCStudio命令行Build不成功
分享到: 更多 (0)