ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/doc/html/runtime.html
Revision: 1.6
Committed: Mon Nov 18 11:31:38 2002 UTC (22 years, 5 months ago) by sashby
Content type: text/html
Branch: MAIN
CVS Tags: V1_pre0, HEAD
Branch point for: SCRAM_V1_BRANCH
Changes since 1.5: +0 -0 lines
State: FILE REMOVED
Log Message:
Removed old documentation.

File Contents

# Content
1 <! Style Sheet Header>
2 <html>
3 <head>
4 <title>runtime.html</title>
5 <body bgcolor=beige>
6 <! End Style Sheet Header -----------Insert Text Here --------------------->
7 <center>
8 <H1>The Runtime Environment</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 Contents<br>
14 <ul>
15 <li><a href=#QS>Configuration Environment</a>
16 <li><a href=#AS>Application Environments</a>
17 <li><a href=#RD>Runtime Documents</a>
18 </ul>
19 <hr>
20 <a name=QS>
21 <h1>Configuration Environment</h2></a>
22 Each development area has associated with it an environment which is related to
23 the tools specified in the configuration, and the environment variables
24 specified in your Project Runtime Document. If you wish to set project-wide
25 values, create a document called <em>Runtime</em> in your project configuration
26 directory. This document is a <a href=#RD>Runtime Document</a>
27 <p>
28 The environment can be seen using the command
29 <p>
30 <pre>
31 scram runtime [-csh|-sh]
32 </pre>
33 <p>
34 Running this command will print the commands to the standard
35 output in either the csh or sh flavours. Note that it will not actually
36 run the commands - just print them. See scram runtime help for some examples
37 of using this command.
38 <p>
39 All variables that are set also have an associated SCRAMRT_xxx variable. This
40 allows scram to undo changes to the environment. This allows you, for example,
41 to switch between project environments without the two interfering. This
42 consistency checking is done automatically.
43
44 <a name=AS>
45 <h1>Application Environments</h1>
46 <ul>
47 An application may have environmental requirements in addition to the general
48 configuration described above. The runtime mechanism supports
49 this through the use of the &lt;Runtime> tag.
50 <p>
51 Note that this means the Configuration Environment described above needs to
52 be set in addition.
53 <p>
54 <li><h2>Setting an application environment</h2>
55 <pre>
56 scram runtime [-csh|-sh] runtimefile
57 </pre>
58 The file runtimefile is searched for in the following order :
59 <p>
60 <ol>
61 <li>filename relative to current directory
62 <li>filename relative to local_area/src
63 <li>filename relative to release_area/src
64 <li>location of a BuildFile relative to local_area/src
65 <li>location of a BuildFile relative to release_area/src
66 </ol>
67 <p>
68 <li><h2>Information on Runtime Variables</h2>
69 <p>
70 To print out any help available to describe the variables in the file, run the command
71 <br>
72 <pre>
73 scram runtime info runtimefile [variable]
74 </pre>
75 <p>
76 The option <em>variable</em> will restrict the output to the specified variable only.
77 </ul>
78
79 <a name=RD>
80 <h1>Constructing Runtime Environment Documents</h1>
81 An environment variable in the runtime file is indicated by
82 <p>
83 <font color=green>
84 &lt;Runtime name=<em>VARIABLE</em> value=<em>value1</em> [type=path]><br>
85 Descriptive text of the variable - provides help to the users!<br>
86 &lt/Runtime>
87 </font><p>
88
89 <! Style Sheet Footer ---------------Do not change anything after this line-->
90 <hr>
91 <table border=1 width=100%>
92 <td align=left>
93 <a href=mailto:Shaun.Ashby@cern.ch
94 >Shaun Ashby</a>
95 </td>
96 <td align=center>
97 <SCRIPT LANGUAGE="JAVASCRIPT">document.write("Last Updated "+ document.lastModified );</SCRIPT>
98 </td>
99 <td align=right><a href=/cgi-cmc/pagestat>Show Stats</a>
100 </td>
101 </table>
102 </body> </html>
103 <! End Style Sheet Footer>