1

The only way I found how to find all ClearCase projects that use a particular component is the following:

Get a list of all the projects' Integration streams:

cleartool lsproj -fmt %[istream]Xp -invob <pvob>

For each Integration stream found, get a list of foundation baselines:

cleartool lsstream -fmt %[found_bls]CXp <stream> 

For each foundation baseline found, check if the component appears in the output:

cleartool descr baseline:<baseline> | find "component: <component>"

This works perfectly but really looks like a roundabout way to do it. Anyone know of a more efficient way?

Jozef
  • 303
  • 1
  • 11

1 Answers1

1

That is pretty much the usual way to explore those UCM projects.
I used a similar way in "How to obtain UCM stream and baseline with cleartool?"

Maybe a cleartool lsstream --tree allows you to get all the streams directly, instead of querying stream by stream.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250