Changeset 304 for CMT/v1r19/doc/CMTDoc.html
- Timestamp:
- Nov 9, 2006, 11:15:39 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/v1r19/doc/CMTDoc.html
r113 r304 19 19 <h1><center>CMT</center> 20 20 <center>Configuration Management Tool</center></h1> 21 <h2><center>Version v1r1 8p20051101</center>21 <h2><center>Version v1r19</center> 22 22 <center>Christian Arnault</center> 23 23 <center><tt>arnault@lal.in2p3.fr</tt></center></h2> 24 <center><i>Document revision date : 200 5-10-30</i></center><hr><h2><a href="#index">General index</a></h2>24 <center><i>Document revision date : 2006-11-09</i></center><hr><h2><a href="#index">General index</a></h2> 25 25 <hr><h2><a name="Presentation"></a><a href="#index"><tt> 1</tt></a> - Presentation</h2> 26 26 <blockquote> … … 471 471 strategies to different sub-projects. The strategy 472 472 specifications may appear in requirements file of any package 473 of a project or in the <tt>cmt/project.cmt</tt>473 of a project or in the <tt>cmt/project.cmt</tt> 474 474 project file. 475 475 <p>By default a project inherits the strategies of its … … 847 847 utilities, using for example the shell command: </p> 848 848 <pre> 849 csh> source /lal/CMT/v1r1 8p20051101/mgr/setup.csh849 csh> source /lal/CMT/v1r19/mgr/setup.csh 850 850 851 851 or 852 852 853 ksh> . /lal/CMT/v1r1 8p20051101/mgr/setup.sh853 ksh> . /lal/CMT/v1r19/mgr/setup.sh 854 854 855 855 or 856 856 857 dos> call \lal\CMT\v1r1 8p20051101\mgr\setup.bat</pre>857 dos> call \lal\CMT\v1r19\mgr\setup.bat</pre> 858 858 <p>Obviously, this operation <i>must</i> 859 859 be performed (once) … … 897 897 <i><font COLOR="#000077" face="courier new, courier">------------------------------------------ 898 898 Configuring environment for project Dev 899 CMT version v1r1 8p20051101.899 CMT version v1r19. 900 900 ------------------------------------------ 901 901 Installing the cmt directory … … 921 921 <i><font COLOR="#000077" face="courier new, courier">------------------------------------------ 922 922 Configuring environment for package Foo version v1. 923 CMT version v1r1 8p20051101. [1]923 CMT version v1r19. [1] 924 924 Root set to /home/arnault/Dev. 925 925 System is Linux-i686 [2] … … 957 957 <i><font COLOR="#007700" face="courier new, courier">------------------------------------------ 958 958 Configuring environment for package Foo version v1. 959 CMT version v1r1 8p20051101.959 CMT version v1r19. 960 960 Root set to /ProjectB. 961 961 System is Linux-i686 … … 1052 1052 <i><font COLOR="#000077" face="courier new, courier">------------------------------------------ 1053 1053 Removing package Foo version v1. 1054 CMT version v1r1 8p20051101.1054 CMT version v1r19. 1055 1055 Root set to /home/arnault/mydev. 1056 1056 System is Linux-i686 … … 1062 1062 <i><font COLOR="#000077" face="courier new, courier">------------------------------------------ 1063 1063 Removing package Foo version v1. 1064 CMT version v1r1 8p20051101.1064 CMT version v1r19. 1065 1065 Root set to /ProjectB. 1066 1066 System is Linux-i686 … … 1210 1210 </ol> 1211 1211 The packages are searched assuming that the directory hierarchy 1212 below the access paths always follow the convention :1212 below the access paths always follow the convention : 1213 1213 <ol> 1214 1214 <li> there is a first directory level exactly named according to … … 1309 1309 <li>policies for external software organisation</li> 1310 1310 </ul> 1311 Then the global policy package will use them1311 Then the global policy package will use them 1312 1312 </blockquote> 1313 1313 <hr><h3><a name="The container or management package"></a><a href="#index"><tt> 7. 3</tt></a> - The container or management package</h3> … … 1627 1627 <li>The current minor version id of CMT is a valid tag and 1628 1628 takes the form <tt>CMTr<n></tt> 1629 (eg. <tt>CMTr1 8</tt>1629 (eg. <tt>CMTr19</tt> 1630 1630 )</li> 1631 1631 <li>The current patch id of CMT is a valid tag and takes the … … 1688 1688 </a> 1689 1689 , a specific context is 1690 created, which is materialized with a dedicated tag named1690 created, which is materialized with a dedicated tag named 1691 1691 <tt>target_<action></tt> 1692 1692 , very similarly to the target … … 1721 1721 > cmt show tags 1722 1722 <i><font COLOR="#000077" face="courier new, courier">CMTv1 (from CMTVERSION) [1] 1723 CMTr1 8(from CMTVERSION) package CMT implies [CMTr14] [1]1723 CMTr19 (from CMTVERSION) package CMT implies [CMTr14] [1] 1724 1724 CMTp20040701 (from CMTVERSION) [1] 1725 1725 Linux (from uname) package CMT implies [Unix] [2] … … 1874 1874 > cmt show tags 1875 1875 <i><font COLOR="#000077" face="courier new, courier">CMTv1 (from CMTVERSION) 1876 CMTr1 8(from CMTVERSION)1876 CMTr19 (from CMTVERSION) 1877 1877 CMTp0 (from CMTVERSION) 1878 1878 Linux (from uname) … … 1889 1889 > cmt show tags 1890 1890 <i><font COLOR="#000077" face="courier new, courier">CMTv1 (from CMTVERSION) 1891 CMTr1 8(from CMTVERSION)1891 CMTr19 (from CMTVERSION) 1892 1892 CMTp0 (from CMTVERSION) 1893 1893 Linux (from uname) package Foo implies [foo] … … 1906 1906 > cmt show tags 1907 1907 <i><font COLOR="#000077" face="courier new, courier">CMTv1 (from CMTVERSION) 1908 CMTr1 8(from CMTVERSION)1908 CMTr19 (from CMTVERSION) 1909 1909 CMTp0 (from CMTVERSION) 1910 1910 Linux (from uname) … … 1922 1922 > cmt show tags 1923 1923 <i><font COLOR="#000077" face="courier new, courier">CMTv1 (from CMTVERSION) 1924 CMTr1 8(from CMTVERSION)1924 CMTr19 (from CMTVERSION) 1925 1925 CMTp0 (from CMTVERSION) 1926 1926 Linux (from uname) … … 1931 1931 > cmt -tag_add=tag1,tag2,tag3 show tags 1932 1932 <i><font COLOR="#000077" face="courier new, courier">CMTv1 (from CMTVERSION) 1933 CMTr1 8(from CMTVERSION)1933 CMTr19 (from CMTVERSION) 1934 1934 CMTp0 (from CMTVERSION) 1935 1935 Linux (from uname) … … 2120 2120 development. Then we create a <tt>FooTest.cxx</tt> 2121 2121 source, and 2122 generate the associated makefile (specifying that it will be an2122 generate the associated makefile (specifying that it will be an 2123 2123 executable instead of a library) : </p> 2124 2124 <pre> … … 2280 2280 <p>The main concept of this framework is that each document to be 2281 2281 generated or manipulated must be associated with a "document-type" 2282 2282 (also sometimes named "document-style"), which corresponds to a 2283 2283 dedicated make fragment of that name. Then, when specified in a 2284 2284 <tt>document</tt> … … 2678 2678 by space characters).</p> 2679 2679 <p>Each statement is composed of words separated with spaces 2680 2680 or tabulations.</p> 2681 2681 <p>The first word of a statement is the name of the 2682 2682 configuration parameter.</p> … … 3003 3003 =<tt>variable-value</tt> 3004 3004 (without 3005 any space characters around the 3005 any space characters around the<tt><tt>"="</tt> 3006 3006 </tt> 3007 3007 character), such as in the next example:</p> … … 4056 4056 </td> 4057 4057 <td width="500">C source files will 4058 4059 a prototype of all global entry points</td>4058 automatically produce a header file containing 4059 a prototype of all global entry points</td> 4060 4060 </tr> 4061 4061 <tr> … … 4206 4206 include search path of <tt>../src</tt> 4207 4207 will then simply 4208 4208 disappear, and the <tt>include_path</tt> 4209 4209 statement will 4210 become meaningless. When this happens, include search4210 become meaningless. When this happens, include search 4211 4211 paths will always have to be explicitly specified using the 4212 4212 <tt>include_dirs</tt> … … 4570 4570 load 4571 4571 lock [<p> <v> [<path>]] : lock a package 4572 relocate : generate setup and cleanup scripts (without makefiles) 4572 4573 remove <package> <version> [<path>] : remove a package version 4573 4574 remove library_links : remove symbolic links towards all imported libraries … … 4793 4794 command, ie all <tt>CMT</tt> 4794 4795 packages 4795 and versions available through the current <tt>CMTPATH</tt>4796 and versions available through the current <tt>CMTPATH</tt> 4796 4797 list. 4797 4798 <p>Typical uses of this <i>broadcast</i> … … 4967 4968 option (which must precede the 4968 4969 command) provides exactly the same features but in a 4969 4970 Windows/nmake context. In this case, all generated 4970 4971 makefiles are suffixed by <tt>.nmake</tt> 4971 4972 instead of … … 5010 5011 statements found in 5011 5012 the source files. However it's also possible to make 5012 5013 plain use of the standard mechanisms provided by some 5013 5014 standard tools like <tt>cpp -M</tt> 5014 5015 . In this case, it … … 5289 5290 <pre> 5290 5291 > cmt expand model "abcd $(CMTVERSION) efgh" 5291 <i><font COLOR="#000077" face="courier new, courier">abcd v1r1 8p20051101efgh</font></i></pre>5292 <i><font COLOR="#000077" face="courier new, courier">abcd v1r19 efgh</font></i></pre> 5292 5293 </li> 5293 5294 <li><i>Recursively</i> … … 5627 5628 <tt>action_value <name></tt> 5628 5629 <p>This set of commands displays the raw value 5629 assigned to the symbol (macro, set or action)5630 assigned to the symbol (macro, set or action) 5630 5631 specified as the additional argument. It only presents 5631 5632 the final result of the assignment operations … … 5716 5717 <li><tt>projects</tt> 5717 5718 <p>This command displays the current knowledge of 5718 5719 sub-project definitions and settings. It shows the 5719 5720 project names and their location (ie the corresponding 5720 5721 item in <tt>CMTPATH</tt> … … 5777 5778 # 5778 5779 # Selection : [4] 5779 use CMT v1r1 8p20051101(/afs/cern.ch/sw/contrib)5780 use CMT v1r19 (/afs/cern.ch/sw/contrib) 5780 5781 use ExternalLibs v4r2p0 (/afs/cern.ch/atlas/offline/external/Gaudi/0.12.1.5) [5] 5781 5782 use CLHEP v2r1820p0 (/afs/cern.ch/atlas/offline/external/Gaudi/0.12.1.5) … … 6353 6354 <tt>OPACS</tt> 6354 6355 package would have just to provide a use 6355 6356 statement like : </p> 6356 6357 <pre class="cmt"> 6357 6358 use OPACS v3 </pre> … … 6671 6672 csh> cd /Packages 6672 6673 csh> <get the tar file from the Web> 6673 csh> tar xzf CMTv1r1 8p20051101.tar.gz6674 csh> cd CMT/v1r1 8p20051101/mgr6674 csh> tar xzf CMTv1r19.tar.gz 6675 csh> cd CMT/v1r19/mgr 6675 6676 csh> ./INSTALL 6676 6677 csh> source setup.csh … … 6708 6709 will 6709 6710 contain the current version tag of <tt>CMT</tt> 6710 (<tt>"v1r1 8p20051101"</tt>6711 (<tt>"v1r19"</tt> 6711 6712 for this version). </li> 6712 6713 <li><tt>HKEY_LOCAL_MACHINE/Software/CMT/path/</tt> … … 6730 6731 dos> cd Packages 6731 6732 dos> <get the tar file from the Web> 6732 dos> cd CMT\v1r1 8p20051101\mgr6733 dos> cd CMT\v1r19\mgr 6733 6734 dos> call INSTALL 6734 6735 dos> call setup.bat … … 6880 6881 </td> 6881 6882 <td>gives the current release number of CMT</td> 6882 <td><tt>1 8</tt>6883 <td><tt>19</tt> 6883 6884 </td> 6884 6885 </tr> … … 6887 6888 </td> 6888 6889 <td>gives the current complete version tag of CMT</td> 6889 <td><tt>v1r1 8p20051101</tt>6890 <td><tt>v1r19</tt> 6890 6891 </td> 6891 6892 </tr> … … 10513 10514 <tt>cmt_buildcvsinfos2.sh</tt> 10514 10515 , which simply receives in its 10515 argument the module name onto which we need information. This10516 argument the module name onto which we need information. This 10516 10517 information is obtained by scanning the files into the 10517 10518 repository, and an answer is built with the following syntax:
Note: See TracChangeset
for help on using the changeset viewer.