Explicitly creates an activity.
An activity is always created in the context of a workspace. The workspace is either specified by the –w option or, when the –w option is not specified, determined from the current working folder. In case the current working folder is not under a workspace, then the mkactivity command will not create an activity.
There are also commands that create activities implicitly. For more information, see ADD, DELETE and EDIT.
Syntax |
MKACTIVITY <-a activityName> [-s] [-c "description"] [-n displayName] [-w “workspacePath”] |
Arguments |
|
<-a activityName> |
Name of the activity to be created. |
[-c "description"] |
Description of the activity. |
[-n displayName] |
Display name of the activity. |
[-s] |
Will suppress the popup window for changing the activity description and display name. |
[-w “workspacePath”] |
Workspace path to specify the workspace under which the activity has to be created. If the workspace is not specified, the current working directory is used. |
Description |
Creates an empty activity. |
...
To create an activity a1in the workspace //path/to/wsp, execute:
mkactivity –a a1 –w //path/to/wsp
When the command is executed, a dialog window appears in which you should define the activity display name and the description of the activity.
It is also possible to specify both the activity display name and the activity description in the command line and to suppress the dialog window. This is done in the next command:
mkactivity –a a1 –w //path/to/wsp –s –n “small bugfix” –c “fixed bug in the UI”