Using the CWS Command-line Tools |
|
![]() |
Prerequisite Before you execute any of the CWS command-line tools, you must ensure the following:
|
You can use command-line tools for the actions that can be performed in CWS, such as building, publishing, packaging, and synchronizing.
Currently, these tools are available in the form of:
- Generic CWS commands
- Specific CWS commands
Generic CWS command with sub commands
To execute a sub command with the generic command, you must do the following:
- Log in to the Process Platform server.
- Open a command prompt and navigate to the
<Installation_Directory>/bin/ folder.
- Run the command
cws
with proper sub command and arguments as specified below:
Sub commands
For more information on a sub command and its arguments, see the following topics:
Executing sub command help will show all available sub commands with a brief summary of their functionality:
cws help
To get help on a sub command use:
cws help <sub command>
Arguments
Each sub command has its own arguments. Optionally, you can add one or more of the following tuning arguments:
Setting | Setting | Default value | Example |
---|---|---|---|
Heap | -MaxHeap xxx | Default JVM heap size | -MaxHeap 5000 |
NOM | -MaxNOM xxx | Default NOM size | -MaxNOM 4000 |
Classpath | -cp pathToJar | empty | -cp ../extraCommand.jar |
Language | -lang xx_XX | empty, using settings from wcp.properties | -lang en_US |
Specific CWS commands
To execute a specific CWS command, you must do the following:
- Log in to the Process Platform server.
- Open a command prompt and navigate to the
<Installation_Directory>/components/cws/scripts
folder. In a Windows environment, you must navigate to the sub folderwindows
; In a Linux environment, you must navigate to the sub folderlinux
. - Run the command with proper arguments.
Commands
For more information on a command and its arguments, see the following topics: