Question

I want to list all projects that are in the clearcase ucm :

$>cleartool lsproject *
cleartool: Error: Unable to determine VOB for pathname ".".
cleartool: Error: Unable to determine VOB for pathname ".".
cleartool: Error: Unable to determine VOB for pathname ".".
cleartool: Error: Unable to determine VOB for pathname ".".
cleartool: Error: Unable to determine VOB for pathname ".".

$>cleartool lsproject
cleartool: Error: Unable to determine VOB for pathname ".".

What am I doing wrong?

Was it helpful?

Solution

You need to specify the pvob which references all UCM objects, including projects:

cleartool lsproject -invob \yourPVob
# Or, on Unix
cleartool lsproject -invob /vobs/yourPVob

If you want just the names, you can take advantage of some of the options of cleartool lsproject:

cleartool lsproject -s -invob \yourPVob

Make sure you have a 7.1.x recent enough version of ClearCase: this IBM technote reports the cleartool lsproject command don't work well in 7.0.1.7 and 7.1.1.0.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top