I am trying to find all the components baselines associated in a composite baseline.
I am able to achieve it using following way
cleartool desc -fmt %[rec_bls]CXp stream:My_Integration@\My_PVOB
(I would save the receommended baselines in some variable using powershell and replace it in next command)
cleartool describe -l baseline:"$Baseline"@\My_PVOB
Is it possible to combine both command so that i can describe all the recommended baselines.
In the above approach i am forced to use some script to save baselines then to use it in Cleartool command. If it can be combined in cleartool itself it will be good and handy.
I didn4t find a way to pipe the two
describe
between the composite baseline and its member baselines.My solution (which isn't satisfactory) is, in a bash (available on Windows through msyswwin, with a tool like msysgit):
I use whatever
fmt
I need (here just the name of the component associated with the member baseline and its name)Then I execute each output line in order to get the final result in '
afile
'.Your PowerShell script approach is certainly better.
Actually, the OP Samselvaprabu confirms following said PowerShell approach: