We want all label contents of Base Clearcase VOB. I created a View for the VOB and edited the config.spec document as
element * checkedout
element * label_ID
element * /main/latest
But it brings all the components associated with the VOB and not with the label.
How to select only the elements which are labelled label_ID
?
If you don't mind seeing a load of empty directories, you can do something like this:
element * CHECKEDOUT
element -file * label_ID
element -directory * /main/LATEST
This will return the LATEST or CHECKEDOUT version of every folder, but it won't display a file unless it's labelled or CHECKEDOUT
Check out the config_specs reference page - there's a load of stuff you can do with config specs (for instance if you only wanted the MSWord documentation, you could so "element -file *.doc /main/LATEST")