addSolutions command
The addSolutions command adds a solution
to a project area. A solution can belong to only one project area.
Syntax
The following syntax includes line
breaks to format the command for reading. Enter the command and options
on a single line without any line breaks.
configmgr_cl addSolutions -projectAreaName project_area_name
-profile myprofile
-solutions solution_name [-solutions solution_name_n]
[-silent] [-force] [-help]Parameters
- -projectAreaName project_area_name
- Specifies the name of the project area to add the solution to. The default project area is named dev_env_connection_definition.
- -profile myprofile
- Specifies the profile to use. The myprofile value can be one of the following items:
- The name of the profile, such as develop1. The profile is located in the install_root/CaseManagement/configure/profiles directory. install_root is the location where IBM® Business Automation Workflow is installed.
- The full path to the profile directory, such as "install_root\CaseManagement\configure\profiles\develop1" or /install_root/CaseManagement/configure/profiles/develop1.
- The full path to the profile input file, such as "install_root\CaseManagement\configure\profiles\develop1\develop1.cfgp" or /install_root/CaseManagement/configure/profiles/develop1/develop1.cfgp.
- -solutions solution_name
- Specifies the solution name to add to the project area. You can
enter multiple
-solutions solution_nameoptions on the same command line. - -silent
- Optional: When you specify the -silent parameter, no prompts or informational messages are shown in the console, but the errors are written to the log. Failure messages and validation error messages are shown as needed, such as messages about missing passwords or invalid port numbers. If you run the execute command to run all the activities in a profile and you specify the -silent parameter, you must also specify the -force parameter.
- -force
- Optional and applies only when the -silent parameter is used. When you specify the -force parameter, the activity is run without pausing for required responses to validation error messages, such as messages about missing passwords or invalid port numbers.
- -help
- Optional: Shows a brief message on the command syntax instead of running the command.
Sample commands
The following examples include
line breaks to format the command for reading. Enter the command and
options on a single line without any line breaks.
- Add a solution to the project area.
- The following command adds the Solution1 solution to the project
area CreditDisputeArea for the development environment that was configured
with the myDevelop1 profile:
configmgr_cl addSolutions -projectAreaName CreditDisputeArea -profile myDevelop1 -solutions Solution1 [-silent] [-force] - Add two solutions to the project area.
- The following command adds the Solution1 solution and the Solution2
solution to the project area CreditDisputeArea for the development
environment that was configured with the myDevelop1 profile:
configmgr_cl addSolutions -projectAreaName CreditDisputeArea -profile myDevelop1 -solutions Solution1 -solutions Solution2 [-silent] [-force] - Show the help for the addSolutions command.
- The following command shows the help for the addSolutions command:
configmgr_cl addSolutions -help