ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/doc/html/configurationtools.html
Revision: 1.3
Committed: Wed Nov 15 15:43:05 2000 UTC (24 years, 6 months ago) by williamc
Content type: text/html
Branch: MAIN
CVS Tags: V0_18_5, V0_18_4, V_18_3_TEST, V0_18_2, V0_18_1
Changes since 1.2: +13 -2 lines
Log Message:
minor changes

File Contents

# Content
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 The Tool Document is an <a href=ActiveDoc.html>ActiveDoc</a><br>
16 Each configuration tool that is requested in the requirements document
17 needs to be described to the SCRAM configuration manager.
18 The tool document
19 will describe such things as the default location of the tool on the system,
20 names of libraries and environmental variables that need to be set.
21
22 <h2>Tags</h2>
23 <table border=1>
24 <tr>
25 <td>
26 <font color=green>
27 &lt;doc type=BuildSystem::ToolDoc version=1.1><br>
28 </font>
29 </td>
30 <td>
31 Must be specified included in any document to indicate how to parse
32 </td>
33 </tr>
34 <tr>
35 <td>
36 <font color=green>
37 &lt;Tool name=<em>name</em> version=<em>version</em>><br>
38 &lt;/Tool>
39 </font>
40 </td>
41 <td>
42 Specify the name and the version of the tool that is being described
43 Everything between these tags relates to the specified tool
44 </td>
45 </tr>
46 <tr>
47 <td>
48 <font color=green>
49 &lt;Environment name=<em>variablename</em> [type=lib|Runtime|Runtime_path]
50 [value=<em>value</em> | default=<em>trial_value</em>]>
51 <br>
52 &lt;/Environment>
53 </font>
54 </td>
55 <td>
56 Set up a variable in the scram environment for this tool. Anything between
57 these tags should describe the purpose of the Environmental variable. It is
58 printed out as a guide to the user if SCRAM needs to ask for help in setting
59 up the value of the variable.
60 </td>
61 </tr>
62 <tr>
63 <td>
64 <font color=green>
65 &lt;External ref=<em>name</em>>
66 </font>
67 </td>
68 <td>
69 Specify that the current tool has a dependency on another tool
70 </td>
71 </tr>
72 <tr>
73 <td>
74 <font color=green>
75 &lt;client><br>
76 &lt;/client>
77 </font>
78 </td>
79 <td>
80 Any &lt;Environment> between these tags will be checked as a directory location
81 on the client machine. If the environment is of <em>type=lib</em> the presence
82 of all libraries defined by previous &lt;lib> tags will also be checked for
83 in that directory.
84 </td>
85 </tr>
86 <tr>
87 <td>
88 <font color=green>
89 &lt;lib name=<em>name</em>>
90 </font>
91 </td>
92 <td>
93 Specify the name of a library - you do not need the preceding lib or extension
94 </td>
95 </tr>
96 <tr>
97 <td>
98 <font color=green>
99 &lt;Architecture name=<em>OSname</em>><br>
100 &lt;/Architecture>
101 </font>
102 </td>
103 <td>
104 Anything between these tags will apply only to Architectures that match the
105 <em>OSname</em>
106 </td>
107 </tr>
108 <tr>
109 <td>
110 <font color=green>
111 &lt;Makefile>&lt;/Makefile>
112 </font>
113 </td>
114 <td>
115 These tags delimit gmake file content intended for inclusion in the build
116 system associated with the tool.
117 </td>
118 </tr>
119 </table>
120
121 <h2>Example</h2>
122 <font color=green>
123 <pre>
124 &lt;Tool name=Example version=V2_0_0>
125
126 &lt;Client>
127 <lib name=lib1>
128 <lib name=lib2>
129 &lt;Environment name=Example_BASE>
130 Example information available from
131 (http://cmsdoc.cern.ch/cmsoo/projects/Example/)
132 <br>The top directory of the Example distribution
133 &lt;/Environment>
134
135 &lt;Environment name=LIBDIR default=$Example_BASE/$SCRAM_ARCH/lib type=lib>
136 The Example library directory
137 &lt;/Environment>
138
139 &lt;Environment name=INCLUDE default="$Example_BASE/src">
140 The default Example include directory
141 Usually the path up to and including src
142 &lt;/Environment>
143 &lt;/Client>
144
145 &lt;Environment name=LD_LIBRARY_PATH value=$LIBDIR type=Runtime_path>
146 &lt;/Environment>
147 &lt;External ref=Qt>
148 &lt;/Tool>
149
150 </pre>
151 </font>
152 The above file describes the Example project. Note that all defined enviornment
153 variables can be referred to by others. In addition the SCRAM_ARCH,
154 SCRAMtoolname, SCRAMtoolversion are also defined.
155 <! Style Sheet Footer ---------------Do not change anything after this line-->
156 <hr>
157 <table border=1 width=100%>
158 <td align=left>
159 <a href=mailto:Christopher.Williams@cern.ch
160 >Chris Williams</a>
161 </td>
162 <td align=center>
163 Last Updated Thu May 4 16:02:52 2000
164 </td>
165 <td align=right><a href=/cgi-cmc/pagestat>Show Stats</a>
166 </td>
167 </table>
168 </body> </html>
169 <! End Style Sheet Footer>