| [156] | 1 | <center><h1><b>cmtcvs</b></h1></center> | 
|---|
|  | 2 |  | 
|---|
|  | 3 | <hr> | 
|---|
|  | 4 | <br> | 
|---|
|  | 5 |  | 
|---|
|  | 6 | <h2><a name="pluggin">The C++ version of the CVS plugin for CMT</a></h2> | 
|---|
|  | 7 | <blockquote> | 
|---|
|  | 8 |  | 
|---|
|  | 9 | <p>The original version of the CVS plugin for CMT is implemented in shell script. | 
|---|
|  | 10 | However, in some cases, the performance issues impose to use a compiled version | 
|---|
|  | 11 | instead. This is particularly appropriate when the repository is accessed through any | 
|---|
|  | 12 | CVS server mechanism, sinc in this case, the only one machine accesses the repository.</p> | 
|---|
|  | 13 |  | 
|---|
|  | 14 | <p>Here you can download the sources of this C++ implementation. This is | 
|---|
|  | 15 | a CMT package that must be built and installed as follows:</p> | 
|---|
|  | 16 |  | 
|---|
|  | 17 | <ol> | 
|---|
|  | 18 | <li><i> retreiving the plugin sources </i> | 
|---|
|  | 19 | <blockquote> | 
|---|
|  | 20 | <font face="courier new, courier" COLOR="#770077"> | 
|---|
|  | 21 | <b> | 
|---|
|  | 22 | <pre> | 
|---|
|  | 23 |  | 
|---|
|  | 24 | > [ fetch the <a href="cmtcvsv1r1.tar.gz">tar file</a> ] | 
|---|
|  | 25 | > tar xzvf cmtcvsv1r1.tar.gz | 
|---|
|  | 26 |  | 
|---|
|  | 27 | </pre> | 
|---|
|  | 28 | </b> | 
|---|
|  | 29 | </font> | 
|---|
|  | 30 | </blockquote> | 
|---|
|  | 31 | </li> | 
|---|
|  | 32 |  | 
|---|
|  | 33 | <li> <i> building the pluggin </i> | 
|---|
|  | 34 |  | 
|---|
|  | 35 | <blockquote> | 
|---|
|  | 36 | <font face="courier new, courier" COLOR="#770077"> | 
|---|
|  | 37 | <b> | 
|---|
|  | 38 | <pre> | 
|---|
|  | 39 |  | 
|---|
|  | 40 | > cd cmtcvs/v1r1/cmt | 
|---|
|  | 41 | > cmt config | 
|---|
|  | 42 | ksh> export CMTBIN=`uname` | 
|---|
|  | 43 | csh> setenv CMTBIN `uname` | 
|---|
|  | 44 | > source setup.[c]sh | 
|---|
|  | 45 | > gmake | 
|---|
|  | 46 |  | 
|---|
|  | 47 | </pre> | 
|---|
|  | 48 | </b> | 
|---|
|  | 49 | </font> | 
|---|
|  | 50 | </blockquote> | 
|---|
|  | 51 | </li> | 
|---|
|  | 52 |  | 
|---|
|  | 53 | <li> <i> installing the pluggin into CVS </i> | 
|---|
|  | 54 |  | 
|---|
|  | 55 | <blockquote> | 
|---|
|  | 56 | <font face="courier new, courier" COLOR="#770077"> | 
|---|
|  | 57 | <b> | 
|---|
|  | 58 | <pre> | 
|---|
|  | 59 |  | 
|---|
|  | 60 | > mkdir /tmp/cmtcvsinfos | 
|---|
|  | 61 | > cd /tmp/cmtcvsinfos | 
|---|
|  | 62 | > cvs import -m "Installing the CVS pluggin" .cmtcvsinfos CMT v1r1 | 
|---|
|  | 63 | > rmdir /tmp/cmtcvsinfos | 
|---|
|  | 64 |  | 
|---|
|  | 65 |  | 
|---|
|  | 66 | > cvs co CVSROOT | 
|---|
|  | 67 | > cd CVSROOT | 
|---|
|  | 68 | > vi loginfo | 
|---|
|  | 69 | ... | 
|---|
|  | 70 | .cmtcvsinfos (<<i>absolute location of the pluggin</i>>/cmtcvs.exe %s) | 
|---|
|  | 71 |  | 
|---|
|  | 72 | example at CERN: | 
|---|
|  | 73 |  | 
|---|
|  | 74 | .cmtcvsinfos (/afs/cern.ch/sw/contrib/CMT/cmtcvs/v1r1/`uname`/cmtcvs.exe %s) | 
|---|
|  | 75 |  | 
|---|
|  | 76 | > cvs commit -m "Installing the CVS pluggin for CMT" | 
|---|
|  | 77 | > cd ../ | 
|---|
|  | 78 | > cvs release -d CVSROOT | 
|---|
|  | 79 |  | 
|---|
|  | 80 | </pre> | 
|---|
|  | 81 | </b> | 
|---|
|  | 82 | </font> | 
|---|
|  | 83 | </blockquote> | 
|---|
|  | 84 | </li> | 
|---|
|  | 85 | </ol> | 
|---|
|  | 86 |  | 
|---|
|  | 87 |  | 
|---|
|  | 88 |  | 
|---|
|  | 89 | </blockquote> | 
|---|
|  | 90 |  | 
|---|
|  | 91 |  | 
|---|
|  | 92 |  | 
|---|
|  | 93 |  | 
|---|
|  | 94 |  | 
|---|