DevTools 命令行 - IBConsole

“IBConsole.exe”,位于 Incredibuild 安装文件夹内,是一个控制台应用程序,能够根据不同的参数,以多种操作模式初始化 Incredibuild。本章中包含有关命令语法、可用命令参数的参考信息。

备注:

  • IBConsole 旨在用于 Dev Tools 包。要加速作为 Make 和 Build Tools 解决方案一部分的 Visual Studio 或其他构建工具,您需要使用 BuildConsole 命令行接口。

语法

通过 Automatic Interception Interface 运行作业的基本命令行语法如下:

IBConsole.exe /command="<TOOL COMMAND>" /profile="<PROFILE XML>" [Other Options]

*Other Options:请参阅 IBConsole Command Line Options 部分,以了解 IBConsole 命令行选项的完整列表。

备注:

  • IBConsole(前称 xgConsole)旨在服务想要使用 Incredibuild 接口以实现 Dev tools 目的的用户。如果您的目的是使用 Incredibuild 接口进一步扩展 Visual Studio 或 Make and Build 工具,则您不应使用 IBConsole,而应使用执行 Visual Studio 或 Make and Build 工具的方法。

  • xgConsole 命令仍受支持,因此在 xgConsole 中操作也是可行的。

使用情况

以下语法用于操作 IBConsole.exe:

IBConsole.exe /COMMAND="<job command line>" [options]

IBConsole.exe <Target> [Options]

其中:

  • /COMMAND 能够指定任意命令行,以便与 Submission Interface 或 Automatic Interception Interface 结合使用。

  • <Target> 能够指定以下其一:- 定义了分布式作业的 .xml/.xpx 文件路径(与 XML Interface 结合使用)   - .bat 文件路径(与 Submission Interface 或 Automatic Interception Interface 结合使用)

使用 Dev tools,则需要用到 IBConsole,而同时使用 IBConsole 和 Dev tools,则需要用到 Incredibuild 所提供的三种接口之一,从而使您想要加速的软件/脚本与 Incredibuild 相连接。

备注:

  • 如果在运行 IBConsole 时,您收到了以下错误消息:"'IBConsole' is not recognized as an internal or external command, operable program or batch file.",请选择执行以下一种操作:- 手动将 Incredibuild 安装文件夹添加至系统路径。- 选中“Add Incredibuild folder to the system path”选项,然后在您的机器中重新运行 Incredibuild 设置应用程序。

接口特定用法和示例

要了解有关使用 IBConsole.exe 激活 IB Interface 的示例和具体信息,请参阅以下部分: