Skip to topic
|
Skip to bottom
Search:
Chris and Janet's website
Home
Historian
Archive
Tech
Amnesty
Home
Changes
Index
Search
Tools
Start of topic |
Skip to actions
To list the properties of a trigger: <verbatim> S:\NewPortSrc>cleartool lstype -l trtype:Jindent trigger type "Jindent" 07-Aug-02.11:04:28 by !ClearCase Admin (vobadm.staff@nfccase3) "Java Beautifier trigger" owner: INSTINET_ISN\vobadm group: INSTINET_ISN\staff all element trigger pre-operation checkin action: -execunix exit 0 action: -execwin java -cp M:\%CLEARCASE_VIEW_TAG%\NewPortTools\Jindent\Jindent .jar;\\nfccase3\vobstore\jindent\Jindent.jar;%JINDENT_HOME%\Jindent.jar Jindent %CLEARCASE_PN% restriction: element type java_source </verbatim> --- *Multisite* In the remote region: cleartool mkbranch _branchname elementname_ which creates a branch for that element. In the local region request mastership, and you should then be able to check out on the branch in the local region. --- *Unixify a file* =cleartool chtype -nc -force file blah.h= --- *Adding existing directories to a VOB on unix* You can't add existing directories to clearcase very easily, like you can on windows. The way to do it is to use =clearfsimport=. I tried adding a view private directory to the existing vob, but that didn't work the way I was expecting, as it moved the existing directory to a =.keep= and created a new, but empty, directory with nothing it. So, if you want the import to be recursive, move the directory you want added somewhere else, like to your home directory, and do the import from there: =$ cd /vob/viewarea //cd to the area you want the data added to, eg your view somewhere= =$ mv yourdirectory ~ //moves the directory you want imported to your home directory= =$ clearfsimport -nsetevent -recurse ~/yourdirectory . //does the import= Unless you are =root= you have to use the =-nsetevent= option. This means you lose file system type information, like time stamps and ownership etc.
to top
End of topic
Skip to action links
|
Back to top
Edit
|
Attach image or document
|
Printable version
|
Raw text
|
More topic actions
Revisions: | r1.8 |
>
|
r1.7
|
>
|
r1.6
|
Total page history
|
Backlinks
You are here:
Home
>
ClearcaseStuff
to top