ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/doc/html/configurationtools.html
Revision: 1.1.2.3.2.1
Committed: Tue Aug 15 13:05:57 2000 UTC (24 years, 9 months ago) by williamc
Content type: text/html
Branch: HPWbranch
CVS Tags: BuildSystemProto1, V0_18_0model, V0_17_1, V0_18_0alpha, V0_17_0, V0_16_4, V0_16_3, V0_16_2, V0_16_1, V0_16_0, V0_15_1, V0_15_0, V0_15_0beta, V0_14_0
Branch point for: V0_17branch, V0_16branch, V0_15branch
Changes since 1.1.2.3: +12 -3 lines
Log Message:
Add doc tag

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.2.1 The Tool Document is an <a href=ActiveDoc.html>ActiveDoc</a><br>
16 williamc 1.1.2.3 Each configuration tool that is requested in the requirements document
17     needs to be described to the SCRAM configuration manager.
18 williamc 1.1.2.3.2.1 The tool document
19 williamc 1.1.2.3 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 williamc 1.1.2.1
22     <h2>Tags</h2>
23     <table border=1>
24 williamc 1.1.2.3.2.1 <tr>
25     <td>
26     <font color=green>
27     &lt;doc type=BuildSystem::ToolDoc version=1.0><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 williamc 1.1.2.1 <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     </table>
109    
110     <h2>Example</h2>
111     <font color=green>
112     <pre>
113     &lt;Tool name=Example version=V2_0_0>
114    
115     &lt;Client>
116     <lib name=lib1>
117     <lib name=lib2>
118     &lt;Environment name=Example_BASE>
119     Example information available from
120     (http://cmsdoc.cern.ch/cmsoo/projects/Example/)
121     <br>The top directory of the Example distribution
122     &lt;/Environment>
123    
124     &lt;Environment name=LIBDIR default=$Example_BASE/$SCRAM_ARCH/lib type=lib>
125     The Example library directory
126     &lt;/Environment>
127    
128     &lt;Environment name=INCLUDE default="$Example_BASE/src">
129     The default Example include directory
130     Usually the path up to and including src
131     &lt;/Environment>
132     &lt;/Client>
133    
134     &lt;Environment name=LD_LIBRARY_PATH value=$LIBDIR type=Runtime_path>
135     &lt;/Environment>
136     &lt;External ref=Qt>
137     &lt;/Tool>
138    
139     </pre>
140     </font>
141     The above file describes the Example project. Note that all defined enviornment
142     variables can be referred to by others. In addition the SCRAM_ARCH,
143     SCRAMtoolname, SCRAMtoolversion are also defined.
144     <! Style Sheet Footer ---------------Do not change anything after this line-->
145     <hr>
146     <table border=1 width=100%>
147     <td align=left>
148     <a href=mailto:Christopher.Williams@cern.ch
149     >Chris Williams</a>
150     </td>
151     <td align=center>
152 williamc 1.1.2.3 Last Updated Thu May 4 16:02:52 2000
153 williamc 1.1.2.1 </td>
154     <td align=right><a href=/cgi-cmc/pagestat>Show Stats</a>
155     </td>
156     </table>
157     </body> </html>
158     <! End Style Sheet Footer>