vspacer
 
vspacer
 
Valid XHTML 1.0!
 
Valid CSS 1.0

ClearCase Commands : Releases

 

ZDS ClearCase Commands
 
38. To build a release.

#1 Use catcs / edcs to set up your configspec with
element * LabelToBuildFrom

#2 IMPORTANT! Make sure that you have commented out with the '#' symbol:
#element * /main/LATEST

Failure to do this will mean that later file versions updated AFTER the labelled versions will get into the build!




39. To obtain a directory listing of the source tree for a release.

#1 Use Tip 13 command to get a list of existing labels.

Write down the label for the release you want eg 'RELEASE_2.02'.
Get it right!

#2 Use Tip 43 to add this line to your configspec:
element * RELEASE_2.02
before the existing:
element /gl/vobs/netman/src/docs/.../main/LATEST
element * main/LATEST

Save the configuration, exit, and reply yes to confirm the configspec change.

#3 Open /install/bmp/splash.bmp or title.bmp in PaintBrush to confirm that the configspec change has worked and you are accessing the source version you require.

#4 Do a:
dir s: /s > release.xxx
to do a recursive directory listing of the s: source drive using the view set by the new configspec, and pipe the result to a file.

#5 Don't forget to change your configspec back to normal!




40. To obtain a list of file changes since the last release.

This is useful when you want to do a code review prior to a new release.

In the directory at the top of the src tree:

find . -version 'version(/main/LATEST)
&& !lbtype(RELEASE_3.0)' -exec 'echo $CLEARCASE_PN >> pooh.bar'

This will recursively examine the source tree and output to pooh.bar a list of the files with head versions with no label ie the changes since the last label was applied to all the files.

Download

ClearCase Commands (116KB)

   


Back to top | ZDS Home | This article updated January 14, 2004.