I wish to script the following function.
- accept a ClearCase stream name
- list all the modifiable components associated with this stream
- list all the Java projects owned by each modifiable ClearCase component
I have managed 1 and 2 above using cleartool commands.
I am now stuck as to how to list all the Java projects owned by each modifiable ClearCase component.
If it helps (or I could use this some how in the solution), the Java projects are all created in IBM Rational Application Developer, so there are one or more .project files contained in each ClearCase component.
How might I complete this task?
An UCM component is just a set of files within one common root (either a Vob itself for a “Vob component”, or one of the Vob direct subdirectories).
That means once you have found the right components, all you need to do is to search for the
.projectfiles within said components.A simple
cleartool findshould be enough.