In our build , we use to delete our view and create new view before build.
It was working without any issue in base clearcase.
But in UCM we face issues while check-out and check-in due to activity name has to be assigned every time.
Is it a good practice to create new activity whenever i build? [ But number of activities will be soon increased to enormous]
Is there any easy way to setup default activity automatically in UCM?
Has any body automated this in their build process? If so can you share link or something useful resource..
Use
cleartool setactto set your activity.You might need to unset the current activity first from your view:
Then, Set an activity to be the current activity.
See “Setting UCM activities” for more:
(-view set before the activity name)
Note that if you are changing the activity while you have pending checkouts, you will have a warning.
You usually associate activities to a development task instead of a build number.
Since you don’t version what you are building (the
executables), you don’t have to make a new activity per build.