ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/doc/html/configurationtools.html
Revision: 1.1.2.3
Committed: Thu May 4 14:21:57 2000 UTC (25 years ago) by williamc
Content type: text/html
Branch: V0_9branch
CVS Tags: V0_12_12_4, V0_12_12_3, V0_13_3, V0_13_2, V0_12_12_2, V0_12_12_1, V0_12_12_0, PlayGround_0, V0_13_1, V0_12_12, V0_13_0, V0_12_11, V0_12_9b, V0_12_10, V0_12_9, V0_12_8, V0_12_7, V0_12_6, V0_12_5, V0_12_4, V0_12_3
Branch point for: HPWbranch
Changes since 1.1.2.2: +8 -5 lines
Log Message:
Extended documentation of scram configuration tools

File Contents

# User Rev Content
1 williamc 1.1.2.1 <! Style Sheet Header>
2     <html>
3     <head>
4     <title>configurationtools.html</title>
5     <body bgcolor=beige>
6     <! End Style Sheet Header -----------Insert Text Here --------------------->
7     <center>
8     <h2>Describing External Tools To The Configuration Manager</h2>
9     <p>
10     <font color=red>S</font>oftware <font color=red>C</font>onfiguration,
11     <font color=red>R</font>elease <font color=red>A</font>nd
12     <font color=red>M</font>anagement
13     </center>
14     <hr>
15 williamc 1.1.2.3 Each configuration tool that is requested in the requirements document
16     needs to be described to the SCRAM configuration manager.
17     This is done with an
18     SGML Description Document.
19     The document
20     will describe such things as the default location of the tool on the system,
21     names of libraries and environmental variables that need to be set.
22 williamc 1.1.2.1
23     <h2>Tags</h2>
24     <table border=1>
25     <tr>
26     <td>
27     <font color=green>
28     &lt;Tool name=<em>name</em> version=<em>version</em>><br>
29     &lt;/Tool>
30     </font>
31     </td>
32     <td>
33     Specify the name and the version of the tool that is being described
34     Everything between these tags relates to the specified tool
35     </td>
36     </tr>
37     <tr>
38     <td>
39     <font color=green>
40     &lt;Environment name=<em>variablename</em> [type=lib|Runtime|Runtime_path]
41     [value=<em>value</em> | default=<em>trial_value</em>]>
42     <br>
43     &lt;/Environment>
44     </font>
45     </td>
46     <td>
47     Set up a variable in the scram environment for this tool. Anything between
48     these tags should describe the purpose of the Environmental variable. It is
49     printed out as a guide to the user if SCRAM needs to ask for help in setting
50     up the value of the variable.
51     </td>
52     </tr>
53     <tr>
54     <td>
55     <font color=green>
56     &lt;External ref=<em>name</em>>
57     </font>
58     </td>
59     <td>
60     Specify that the current tool has a dependency on another tool
61     </td>
62     </tr>
63     <tr>
64     <td>
65     <font color=green>
66     &lt;client><br>
67     &lt;/client>
68     </font>
69     </td>
70     <td>
71     Any &lt;Environment> between these tags will be checked as a directory location
72     on the client machine. If the environment is of <em>type=lib</em> the presence
73     of all libraries defined by previous &lt;lib> tags will also be checked for
74     in that directory.
75     </td>
76     </tr>
77     <tr>
78     <td>
79     <font color=green>
80     &lt;lib name=<em>name</em>>
81     </font>
82     </td>
83     <td>
84     Specify the name of a library - you do not need the preceding lib or extension
85     </td>
86     </tr>
87     <tr>
88     <td>
89     <font color=green>
90     &lt;Architecture name=<em>OSname</em>><br>
91     &lt;Architecture>
92     </font>
93     </td>
94     <td>
95     Anything between these tags will apply only to Architectures that match the
96     <em>OSname</em>
97     </td>
98     </tr>
99     </table>
100    
101     <h2>Example</h2>
102     <font color=green>
103     <pre>
104     &lt;Tool name=Example version=V2_0_0>
105    
106     &lt;Client>
107     <lib name=lib1>
108     <lib name=lib2>
109     &lt;Environment name=Example_BASE>
110     Example information available from
111     (http://cmsdoc.cern.ch/cmsoo/projects/Example/)
112     <br>The top directory of the Example distribution
113     &lt;/Environment>
114    
115     &lt;Environment name=LIBDIR default=$Example_BASE/$SCRAM_ARCH/lib type=lib>
116     The Example library directory
117     &lt;/Environment>
118    
119     &lt;Environment name=INCLUDE default="$Example_BASE/src">
120     The default Example include directory
121     Usually the path up to and including src
122     &lt;/Environment>
123     &lt;/Client>
124    
125     &lt;Environment name=LD_LIBRARY_PATH value=$LIBDIR type=Runtime_path>
126     &lt;/Environment>
127     &lt;External ref=Qt>
128     &lt;/Tool>
129    
130     </pre>
131     </font>
132     The above file describes the Example project. Note that all defined enviornment
133     variables can be referred to by others. In addition the SCRAM_ARCH,
134     SCRAMtoolname, SCRAMtoolversion are also defined.
135     <! Style Sheet Footer ---------------Do not change anything after this line-->
136     <hr>
137     <table border=1 width=100%>
138     <td align=left>
139     <a href=mailto:Christopher.Williams@cern.ch
140     >Chris Williams</a>
141     </td>
142     <td align=center>
143 williamc 1.1.2.3 Last Updated Thu May 4 16:02:52 2000
144 williamc 1.1.2.1 </td>
145     <td align=right><a href=/cgi-cmc/pagestat>Show Stats</a>
146     </td>
147     </table>
148     </body> </html>
149     <! End Style Sheet Footer>