参照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.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. 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.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. PS D:\>
可以看到,执行命令后,都是先出现SLF4J的警告,然后出现帮助信息。
根据以下网页中的信息知道SLF4J警告不会影响命令正常执行
请问从命令行Build项目的正确方式是怎样的?