Clearcase : How to create a view and creating directory even a private view directory availble.

Steps to create a new view or editing existing view

1. First create the view,


cleartool mkview -tag view-tag dynamic-view-storage-path
here view-tag is a name of the view we are creating. and path is where we create repository.

ex: ct mkview -tag view_name /views/view_name.vws


2. Second create branch type,

     ct mkbrtype -c "created by... for..."  branch_name

3. Set configuration details for the view.
   To create or edit configuration details for view, use   "ct edcs " at command line.
    use below code,

element * CHECKEDOUT
element * .../ branch_name /LATEST
mkbranch branch_name
element * base_view_version
element * /main/LATEST




Creating directory even a private view directory availble in the path.

cleartool mkelem -mkpath directoryName
Below two commands are only used when the directory does not already exist.

cleartool mkdir
cleartool mkelem -eltype directory



No comments :

Post a Comment