ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/doc/html/configurationtools.html
(Generate patch)

Comparing COMP/SCRAM/doc/html/configurationtools.html (file contents):
Revision 1.1 by williamc, Tue Apr 18 12:31:48 2000 UTC vs.
Revision 1.1.2.1 by williamc, Tue Apr 18 12:31:48 2000 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines