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

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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.workspace
Build entire workspace.
-ccs.configuration <name>
The build-configuration to build (optional).
Defaults to active build-configuration.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

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

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

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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.workspace
Build entire workspace.
-ccs.configuration <name>
The build-configuration to build (optional).
Defaults to active build-configuration.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

可以看到,执行命令后,都是先出现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项目的正确方式是怎样的?

x 出现错误。请重试或与管理员联系。