What are the precautions to be taken while creating a clearcase component?

a 夏天 提交于 2019-12-23 01:44:32

问题


I am trying to create components in a vob for the upcoming project.

What are the common mistakes people make while creating those components?

Do I have to select a view and the root directory to make a component?
I think the root directory will be same as the pvob. Can I select any view here?


回答1:


  • Vob component vs. root-based component: declaring a all vob as one component doesn't scale well when you have many component to declare (each vob component would involve its own vob_server process, which consumes resources on the server).
    It is better to use a generic-named vob in order to declare in its (direct) sub-directory components.

  • The name of the root directory of the component cannot be changed once the component is created: better make it right the first time

  • The component need to be created in the first directory level of a Vob:
    myVob/myComponent1,
    myVob/myComponent2, ...
    So the naming convention should reflect that.
    You cannot declare components within a directory like: myVob/Apache/Cmp1. You might want to name it myVob/Apache_Cmp1.

  • "root directory will be same as the pvob": no: you should keep the pvob separate from the vob.

    • The vob contains data (files and directory, like the root directory of your component).
    • The pvob contains metadata, like the UCM names (of your UCM projects, Streams, Components, Activities, ...)


来源:https://stackoverflow.com/questions/16736554/what-are-the-precautions-to-be-taken-while-creating-a-clearcase-component

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!