exportSolution 命令

Draft comment:
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-01-20 10:38
exportSolution 命令将解决方案或解决方案模板导出到解决方案包,以准备将解决方案或模板导入到另一个工作流程环境。

语法

以下语法使用了换行符,以使命令的格式简单明了而便于阅读。 但是,在实际输入时,应在同一行上输入命令和选项,请勿换行。
configmgr_cl exportSolution -profile myprofile 
 -solutionName solution_name | -solutionTemplateName template_name 
 -solutionPackage package_file
 [-silent] [-force] [-help]

参数

-配置文件我的配置文件
指定要使用的概要文件。 myprofile 值可以是下列其中一项:
  • 概要文件的名称,例如,develop1。 该概要文件位于 install_root/CaseManagement/configure/profiles 目录中。 install_root 是安装 IBM® Business Automation Workflow 的位置。
  • 概要文件目录的完整路径,例如,"install_root\CaseManagement\configure\profiles\develop1"/install_root/CaseManagement/configure/profiles/develop1
  • 概要文件输入文件的完整路径,例如,"install_root\CaseManagement\configure\profiles\develop1\develop1.cfgp"/install_root/CaseManagement/configure/profiles/develop1/develop1.cfgp
-solutionName 解决方案名称
指定要导出的解决方案。 如果您要导出解决方案模板,那么可以忽略此选项。
-solutionTemplateName 模板名称
指定要导出的解决方案模板。 如果您要导出解决方案,那么可以忽略此选项。
-solutionPackage 包文件
指定已导入的解决方案软件包 ZIP 文件的完整路径和文件名。 如果此路径中包含空格,请将整个路径用双引号引起来。 例如,输入 "C:\Solution Packages\Credit Dispute Solution.zip"
-silent
可选:当您指定 -silent 参数时,控制台中不会显示任何提示或参考消息,但会将错误写入日志。 会根据需要来显示故障消息和验证错误消息,例如,有关缺少密码或者端口号无效的消息。 如果您使用 execute 命令以运行概要文件中的所有活动,并且指定了 -silent 参数,那么还必须指定 -force 参数。
-force
可选,仅当使用 -silent 参数时适用。 指定 -force 参数时,运行活动时不会暂停对验证错误消息的必需响应(例如,有关缺少密码或端口号无效的消息)。
-help
可选参数:显示有关命令语法而不是运行命令的简要消息。

样本命令

下列示例使用了换行符,以使命令的格式简单明了而便于阅读。 但是,在实际输入时,应在同一行上输入命令和选项,请勿换行。
导出解决方案软件包。
以下命令会将 MyDevelop1 概要文件中的 Solution1 解决方案导出到 Solution1.zip 文件中:
configmgr_cl exportSolution -profile myDevelop1 
 -solutionName Solution1 
 -solutionPackage "C:\Program Files (x86)\IBM\CaseManagement\solution_packages\Solution1.zip"
导出解决方案模板软件包。
以下命令会将 MyDevelop1 概要文件中的 Template1 解决方案模板导出到 Template1.zip 文件中:
configmgr_cl exportSolution -profile myDevelop1 
 -solutionTemplateName Template1 
 -solutionPackage "C:\Program Files (x86)\IBM\CaseManagement\solution_packages\Template1.zip"
显示有关 exportSolution 命令的帮助。
以下命令会显示有关 exportSolution 命令的帮助:
configmgr_cl exportSolution -help