Ignore:
Timestamp:
Nov 9, 2006, 11:15:39 AM (18 years ago)
Author:
garonne
Message:

version v1r19

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMT/v1r19/doc/CMTDoc.html

    r113 r304  
    1919<h1><center>CMT</center>
    2020<center>Configuration Management Tool</center></h1>
    21 <h2><center>Version v1r18p20051101</center>
     21<h2><center>Version v1r19</center>
    2222<center>Christian Arnault</center>
    2323<center><tt>arnault@lal.in2p3.fr</tt></center></h2>
    24 <center><i>Document revision date : 2005-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>
    2525<hr><h2><a name="Presentation"></a><a href="#index"><tt>&nbsp;1</tt></a> - Presentation</h2>
    2626<blockquote>
     
    471471           strategies to different sub-projects. The strategy
    472472           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>
    474474     project file.
    475475      <p>By default a project inherits the strategies of its
     
    847847    utilities, using for example the shell command: </p>
    848848<pre>
    849 csh&gt; source /lal/CMT/v1r18p20051101/mgr/setup.csh
     849csh&gt; source /lal/CMT/v1r19/mgr/setup.csh
    850850
    851851or
    852852
    853 ksh&gt; . /lal/CMT/v1r18p20051101/mgr/setup.sh
     853ksh&gt; . /lal/CMT/v1r19/mgr/setup.sh
    854854
    855855or
    856856
    857 dos&gt; call \lal\CMT\v1r18p20051101\mgr\setup.bat</pre>
     857dos&gt; call \lal\CMT\v1r19\mgr\setup.bat</pre>
    858858  <p>Obviously, this operation <i>must</i>
    859859   be performed (once)
     
    897897<i><font COLOR="#000077" face="courier new, courier">------------------------------------------
    898898Configuring environment for project Dev
    899 CMT version v1r18p20051101.
     899CMT version v1r19.
    900900------------------------------------------
    901901Installing the cmt directory
     
    921921<i><font COLOR="#000077" face="courier new, courier">------------------------------------------
    922922Configuring environment for package Foo version v1.
    923 CMT version v1r18p20051101.                              [1]
     923CMT version v1r19.                              [1]
    924924Root set to /home/arnault/Dev.
    925925System is Linux-i686                                     [2]
     
    957957<i><font COLOR="#007700" face="courier new, courier">------------------------------------------
    958958Configuring environment for package Foo version v1.
    959 CMT version v1r18p20051101.
     959CMT version v1r19.
    960960Root set to /ProjectB.
    961961System is Linux-i686
     
    10521052<i><font COLOR="#000077" face="courier new, courier">------------------------------------------
    10531053Removing package Foo version v1.
    1054 CMT version v1r18p20051101.
     1054CMT version v1r19.
    10551055Root set to /home/arnault/mydev.
    10561056System is Linux-i686
     
    10621062<i><font COLOR="#000077" face="courier new, courier">------------------------------------------
    10631063Removing package Foo version v1.
    1064 CMT version v1r18p20051101.
     1064CMT version v1r19.
    10651065Root set to /ProjectB.
    10661066System is Linux-i686
     
    12101210</ol>
    12111211    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 :
    12131213  <ol>
    12141214    <li> there is a first directory level exactly named according to
     
    13091309  <li>policies for external software organisation</li>
    13101310</ul>
    1311   Then the global policy package will use them
     1311      Then the global policy package will use them
    13121312</blockquote>
    13131313<hr><h3><a name="The container or management package"></a><a href="#index"><tt>&nbsp;7.&nbsp;3</tt></a> - The container or management package</h3>
     
    16271627        <li>The current minor version id of CMT is a valid tag and
    16281628                takes the form <tt>CMTr&lt;n&gt;</tt>
    1629          (eg. <tt>CMTr18</tt>
     1629         (eg. <tt>CMTr19</tt>
    16301630      )</li>
    16311631        <li>The current patch id of CMT is a valid tag and takes the
     
    16881688    </a>
    16891689    , a specific context is
    1690        created, which is materialized with a dedicated tag named
     1690            created, which is materialized with a dedicated tag named
    16911691    <tt>target_&lt;action&gt;</tt>
    16921692    , very similarly to the target
     
    17211721&gt; cmt show tags
    17221722<i><font COLOR="#000077" face="courier new, courier">CMTv1 (from CMTVERSION)                                                   [1]
    1723 CMTr18 (from CMTVERSION) package CMT implies [CMTr14]                     [1]
     1723CMTr19 (from CMTVERSION) package CMT implies [CMTr14]                     [1]
    17241724CMTp20040701 (from CMTVERSION)                                            [1]
    17251725Linux (from uname) package CMT implies [Unix]                             [2]
     
    18741874&gt; cmt show tags
    18751875<i><font COLOR="#000077" face="courier new, courier">CMTv1 (from CMTVERSION)
    1876 CMTr18 (from CMTVERSION)
     1876CMTr19 (from CMTVERSION)
    18771877CMTp0 (from CMTVERSION)
    18781878Linux (from uname)
     
    18891889&gt; cmt show tags
    18901890<i><font COLOR="#000077" face="courier new, courier">CMTv1 (from CMTVERSION)
    1891 CMTr18 (from CMTVERSION)
     1891CMTr19 (from CMTVERSION)
    18921892CMTp0 (from CMTVERSION)
    18931893Linux (from uname) package Foo implies [foo]
     
    19061906&gt; cmt show tags
    19071907<i><font COLOR="#000077" face="courier new, courier">CMTv1 (from CMTVERSION)
    1908 CMTr18 (from CMTVERSION)
     1908CMTr19 (from CMTVERSION)
    19091909CMTp0 (from CMTVERSION)
    19101910Linux (from uname)
     
    19221922&gt; cmt show tags
    19231923<i><font COLOR="#000077" face="courier new, courier">CMTv1 (from CMTVERSION)
    1924 CMTr18 (from CMTVERSION)
     1924CMTr19 (from CMTVERSION)
    19251925CMTp0 (from CMTVERSION)
    19261926Linux (from uname)
     
    19311931&gt; cmt -tag_add=tag1,tag2,tag3 show tags
    19321932<i><font COLOR="#000077" face="courier new, courier">CMTv1 (from CMTVERSION)
    1933 CMTr18 (from CMTVERSION)
     1933CMTr19 (from CMTVERSION)
    19341934CMTp0 (from CMTVERSION)
    19351935Linux (from uname)
     
    21202120        development. Then we create a <tt>FooTest.cxx</tt>
    21212121   source, and
    2122      generate the associated makefile (specifying that it will be an
     2122        generate the associated makefile (specifying that it will be an
    21232123      executable instead of a library) : </p>
    21242124<pre>
     
    22802280  <p>The main concept of this framework is that each document to be
    22812281      generated or manipulated must be associated with a "document-type"
    2282       (also sometimes named "document-style"), which corresponds to a
     2282     (also sometimes named "document-style"), which corresponds to a
    22832283      dedicated make fragment of that name. Then, when specified in a
    22842284  <tt>document</tt>
     
    26782678                      by space characters).</p>
    26792679      <p>Each statement is composed of words separated with spaces
    2680                       or tabulations.</p>
     2680                     or tabulations.</p>
    26812681      <p>The first word of a statement is the name of the
    26822682                      configuration parameter.</p>
     
    30033003      =<tt>variable-value</tt>
    30043004       (without
    3005                         any space characters around the <tt><tt>"="</tt>
     3005                        any space characters around the<tt><tt>"="</tt>
    30063006      </tt>
    30073007                    character), such as in the next example:</p>
     
    40564056            </td>
    40574057              <td width="500">C source files will
    4058                                       automatically produce a header file containing
    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>
    40604060          </tr>
    40614061            <tr>
     
    42064206                    include search path of <tt>../src</tt>
    42074207       will then simply
    4208                     disappear, and the <tt>include_path</tt>
     4208            disappear, and the <tt>include_path</tt>
    42094209       statement will
    4210                   become meaningless. When this happens, include search
     4210                    become meaningless. When this happens, include search
    42114211                    paths will always have to be explicitly specified using the
    42124212      <tt>include_dirs</tt>
     
    45704570   load
    45714571   lock [&lt;p&gt; &lt;v&gt; [&lt;path&gt;]] : lock a package
     4572   relocate                  : generate setup and cleanup scripts (without makefiles)
    45724573   remove &lt;package&gt; &lt;version&gt; [&lt;path&gt;] : remove a package version
    45734574   remove library_links    : remove symbolic links towards all imported libraries
     
    47934794 command, ie all <tt>CMT</tt>
    47944795 packages
    4795         and versions available through the current <tt>CMTPATH</tt>
     4796            and versions available through the current <tt>CMTPATH</tt>
    47964797 list.
    47974798  <p>Typical uses of this <i>broadcast</i>
     
    49674968       option (which must precede the
    49684969                        command) provides exactly the same features but in a
    4969                         Windows/nmake context. In this case, all generated
     4970        Windows/nmake context. In this case, all generated
    49704971                        makefiles are suffixed by <tt>.nmake</tt>
    49714972       instead of
     
    50105011       statements found in
    50115012                      the source files. However it's also possible to make
    5012                       plain use of the standard mechanisms provided by some
     5013               plain use of the standard mechanisms provided by some
    50135014                      standard tools like <tt>cpp -M</tt>
    50145015      . In this case, it
     
    52895290<pre>
    52905291&gt; cmt expand model "abcd $(CMTVERSION) efgh"
    5291 <i><font COLOR="#000077" face="courier new, courier">abcd v1r18p20051101 efgh</font></i></pre>
     5292<i><font COLOR="#000077" face="courier new, courier">abcd v1r19 efgh</font></i></pre>
    52925293  </li>
    52935294    <li><i>Recursively</i>
     
    56275628      <tt>action_value &lt;name&gt;</tt>
    56285629        <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)
    56305631                        specified as the additional argument. It only presents
    56315632                        the final result of the assignment operations
     
    57165717    <li><tt>projects</tt>
    57175718      <p>This command displays the current knowledge of
    5718                       sub-project definitions and settings. It shows the
     5719             sub-project definitions and settings. It shows the
    57195720                      project names and their location (ie the corresponding
    57205721                      item in <tt>CMTPATH</tt>
     
    57775778#
    57785779# Selection :                                    [4]
    5779 use CMT v1r18p20051101 (/afs/cern.ch/sw/contrib)
     5780use CMT v1r19 (/afs/cern.ch/sw/contrib)
    57805781use ExternalLibs v4r2p0  (/afs/cern.ch/atlas/offline/external/Gaudi/0.12.1.5)    [5]
    57815782use CLHEP v2r1820p0  (/afs/cern.ch/atlas/offline/external/Gaudi/0.12.1.5)
     
    63536354  <tt>OPACS</tt>
    63546355   package would have just to provide a use
    6355           statement like : </p>
     6356  statement like : </p>
    63566357<pre class="cmt">
    63576358use OPACS v3 </pre>
     
    66716672csh&gt; cd /Packages
    66726673csh&gt; &lt;get the tar file from the Web&gt;
    6673 csh&gt; tar xzf CMTv1r18p20051101.tar.gz
    6674 csh&gt; cd CMT/v1r18p20051101/mgr
     6674csh&gt; tar xzf CMTv1r19.tar.gz
     6675csh&gt; cd CMT/v1r19/mgr
    66756676csh&gt; ./INSTALL
    66766677csh&gt; source setup.csh
     
    67086709     will
    67096710                contain the current version tag of <tt>CMT</tt>
    6710                 (<tt>"v1r18p20051101"</tt>
     6711                (<tt>"v1r19"</tt>
    67116712   for this version). </li>
    67126713    <li><tt>HKEY_LOCAL_MACHINE/Software/CMT/path/</tt>
     
    67306731dos&gt; cd Packages
    67316732dos&gt; &lt;get the tar file from the Web&gt;
    6732 dos&gt; cd CMT\v1r18p20051101\mgr
     6733dos&gt; cd CMT\v1r19\mgr
    67336734dos&gt; call INSTALL
    67346735dos&gt; call setup.bat
     
    68806881      </td>
    68816882      <td>gives the current release number of CMT</td>
    6882         <td><tt>18</tt>
     6883        <td><tt>19</tt>
    68836884      </td>
    68846885    </tr>
     
    68876888      </td>
    68886889      <td>gives the current complete version tag of CMT</td>
    6889         <td><tt>v1r18p20051101</tt>
     6890        <td><tt>v1r19</tt>
    68906891      </td>
    68916892    </tr>
     
    1051310514    <tt>cmt_buildcvsinfos2.sh</tt>
    1051410515    , which simply receives in its
    10515      argument the module name onto which we need information. This
     10516          argument the module name onto which we need information. This
    1051610517          information is obtained by scanning the files into the
    1051710518          repository, and an answer is built with the following syntax:
Note: See TracChangeset for help on using the changeset viewer.