ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/doc/html/versionsel.html
Revision: 1.4
Committed: Wed May 15 14:23:33 2002 UTC (23 years ago) by sashby
Content type: text/html
Branch: MAIN
CVS Tags: V0_19_6, V0_19_6p1, V0_19_5, SFATEST, V0_19_4, V0_19_4_pre3
Branch point for: V0_19_4_B
Changes since 1.3: +12 -11 lines
Log Message:
Updated documentation.

File Contents

# Content
1 <! Style Sheet Header>
2 <html>
3 <head>
4 <title>Controlling SCRAM Versions</title>
5 <body bgcolor="beige">
6 <! End Style Sheet Header -----------Insert Text Here --------------------->
7 <center>
8 <h1>Controlling SCRAM Versions</h1>
9 <font color=red>S</font>oftware <font color=red>C</font>onfiguration,
10 <font color=red>R</font>elease <font color=red>A</font>nd
11 <font color=red>M</font>anagement
12 </center>
13 <h4>Contents:</h4>
14 <ul>
15 <li><a href=#Current>Checking the Current Version</a>
16 <li><a href=#Download>Downloading SCRAM versions</a>
17 <li><a href=#Default>Setting a Default version</a>
18 <li><a href=#Over>Overriding the default selection</a>
19 <li><a href=#Auto>Automated version selection</a>
20 </ul>
21 <hr>
22 <a name=Current>
23 <h2>Checking the Current Version</h2></a>
24 The version of scram you are using can be found with the command<p>
25 <pre>
26 scram version
27 </pre>
28 <p>
29 <a name=Download>
30 <h2>Downloading Alternative SCRAM versions</h2></a>
31 Once a version of SCRAM has been installed, downloading of other SCRAM versions
32 becomes trivial with the <b>scram version</b> command.
33 <br>
34 If you supply a version number as an argument, SCRAM will check to see if the
35 specified version is already installed. If it isn't then it will attempt to
36 download the requested version automatically.
37 <p>
38 e.g.
39 <pre>
40 scram version V0_19_2
41 </pre>
42 <p>
43 <a name=Default>
44 <h2>Making a version the default</h2></a>
45 Running the <em>install_scram</em> script of a specific version
46 (see <a href=install.html>Installation Guide</a>)
47 will make that version the default.<p>
48 <a name=Over>
49 <h2>Overriding the default Version</h2></a>
50 The default version can be overridden at any time by setting the
51 SCRAM_HOME environment variable to point to the top of the version
52 required. It must be the full path to the version.
53 <p>
54
55 <a name=Auto>
56 <h2>Automated Version Selection</h2></a>
57
58 Scram can be made to automatically select the correct version to use for a
59 given project area, overridding any other version selection mechanism.
60
61 To turn this feature on, simply create the file <em>scram_version</em>
62 in your project development/release configuration directory. The file should
63 contain the required SCRAM version tag. Any scram command issued in that area
64 is then directed to the correct version if it is installed.
65 If the required version is not installed then a warning is issued and
66 execution of the command continues within the current version.
67 <p>
68
69 <! Style Sheet Footer ---------------Do not change anything after this line-->
70 <hr>
71 <table border=1 width=100%>
72 <td align=left>
73 <a href=mailto:Shaun.Ashby@cern.ch
74 >Shaun Ashby</a>
75 </td>
76 <td align=center>
77 <script language="JavaScript">
78 <!---//hide script from old browsers
79 document.write( "<br>Last updated "+ document.lastModified
80 );
81 //end hiding contents --->
82 </script>
83 </td>
84 <td align=right>Show <a href=/cgi-cmc/pagestat>Stats</a>
85 </td>
86 </table>
87 </body> </html>
88 <! End Style Sheet Footer>