1 |
|
<! Style Sheet Header> |
2 |
|
<html> |
3 |
|
<head> |
4 |
< |
<title>Selecting SCRAM Versions</title> |
5 |
< |
<body> |
4 |
> |
<title>Controllingg SCRAM Versions</title> |
5 |
> |
<body bgcolor="beige"> |
6 |
|
<! End Style Sheet Header -----------Insert Text Here ---------------------> |
7 |
|
<center> |
8 |
< |
<h1>Selecting SCRAM Versions</h1> |
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 |
< |
<h2>Checking the Current Version</h2> |
23 |
< |
The version of scram you are using can be found with the <p> |
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 |
26 |
> |
scram version |
27 |
|
</pre> |
16 |
– |
command. |
28 |
|
<p> |
29 |
< |
<h2>Downloading Alternative SCRAM versions</h2> |
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 |
< |
<p> |
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. |
40 |
|
scram version V0_9_11 |
41 |
|
</pre> |
42 |
|
<p> |
43 |
< |
<h2>Using Multiple SCRAM versions</h2> |
44 |
< |
<h3>Making a version the default</h3> |
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 |
< |
<h3>Overriding the default Version</h3> |
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 |
|
<b>SCRAM_HOME</b> environmental variable to point to the top of the version |
52 |
|
required. It must be the full path to the version. |
53 |
+ |
<p> |
54 |
+ |
<a name=Auto> |
55 |
+ |
<h2>Automated Version Selection</h2></a> |
56 |
+ |
<em>(Version V0_9_40 and above)</em> |
57 |
+ |
Scram can be made to automatically select the correct version to use for a |
58 |
+ |
given project area, overridding any other version selection mechanism.<p> |
59 |
+ |
To turn this feature on, simply create the file <em>.SCRAM/scram_version</em> |
60 |
+ |
(of your project development/release area) containing the required |
61 |
+ |
SCRAM version tag. Any scram command issued in that area then gets directed to |
62 |
+ |
the correct version if it is installed. |
63 |
+ |
<p> |
64 |
+ |
If the required version is not installed then a warning is issued, however |
65 |
+ |
execution of the command continues in the current version. |
66 |
+ |
|
67 |
|
<! Style Sheet Footer ---------------Do not change anything after this line--> |
68 |
|
<hr> |
69 |
|
<table border=1 width=100%> |