开发者

Can you list all Java projects held in a ClearCase component?

开发者 https://www.devze.com 2023-03-20 04:47 出处:网络
I wish to script the following function. accept a ClearCase stream name list all the modifiable开发者_开发问答 components associated with this stream

I wish to script the following function.

  1. accept a ClearCase stream name
  2. list all the modifiable开发者_开发问答 components associated with this stream
  3. 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 .project files within said components.
A simple cleartool find should be enough.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号