ClearCase UCM (cleartool subcommand)
The mkactivity command creates a UCM activity. Activities track the work you do in completing a development task. An activity consists of a headline, which describes the task, and a change set, which identifies all versions of elements that are created or modified by work on the activity.
By default, activities are created in the stream associated with your view context. You can specify another stream with the -in option.
A newly created activity is set as the current activity for your stream when one activity is created using your current view context. Each stream can have one current activity, which records any changes being made. Use -nset if you do not want to use an activity immediately. No activity is set when you create more than one activity per command, or create activities outside your view context. To begin recording changes in an activity, issue a setactivity command from a view that is attached to the activity's stream.
When executed in a view that is associated with a ClearQuest-enabled project, this command generates an error. The correct way to create an activity is to use the setactivity command, specifying a ClearQuest record-ID as the activity-selector.
Locks: An error occurs if there are locks on the following objects: the activity's UCM project VOB.
Mastership: There are no mastership requirements.
EVENT RECORDS AND COMMENTS. Default: Creates one or more event records, with commenting controlled by your .clearcase_profile file (default: -cq). See CUSTOMIZING COMMENT HANDLING in the comments reference page. Comments can be edited with chevent.
ASSIGNING A HEADLINE TO AN ACTIVITY.
Examples including wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.
In cleartool single-command mode, cmd-context represents the command interpreter prompt. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt. In Attache, cmd-context represents the workspace prompt.
cmd-context mkact -nset
Create activity with automatically generated name? [yes] yes
Created activity "activity990917.133218".
cmd-context mkact new_activity
Created activity "new_activity".
Set activity "new_activity" in view "java_int".
cmd-context mkact -f
Created activity "activity990917.134751".
Set activity "activity990917.134751" in view "java_int".
cmd-context mkact -in joes_stream my_work
Created activity "my_work.3345".
chactivity, lsactivity, rmactivity, setactivity
|
Feedback on the documentation in this site? We welcome any comments!
Copyright © 1999 by Rational Software Corporation. All rights reserved. |