ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/doc/html/requirementdoc.html
Revision: 1.1.2.5.2.3
Committed: Tue Aug 22 15:19:01 2000 UTC (24 years, 8 months ago) by williamc
Content type: text/html
Branch: HPWbranch
CVS Tags: BuildSystemProto1, V0_18_0, 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
Branch point for: V0_17branch, V0_16branch, V0_15branch
Changes since 1.1.2.5.2.2: +60 -2 lines
Log Message:
Add PreProcessor documentation

File Contents

# User Rev Content
1 williamc 1.1.2.1 <! Style Sheet Header>
2     <html>
3     <head>
4     <title>requirementdoc.html</title>
5     <body bgcolor=beige>
6     <! End Style Sheet Header -----------Insert Text Here --------------------->
7     <center>
8 williamc 1.1.2.5.2.2 <h2>The Requirements Document (Version 2.0)</h2>
9 williamc 1.1.2.1 <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.5.2.2 The Requirements Document is an <a href=ActiveDoc.html>ActiveDoc</a><br>
16     The Requirement Document is used to specify which external products
17     (libraries etc.) are needed for the project (the configuration).
18     If more than one version of any given tool is specified
19 williamc 1.1.2.3 the first is the one taken as the default. This can be overridden in the
20 williamc 1.1.2.2 <A href=versiondefs.html>External_dependencies</a> configuration file.
21 williamc 1.1.2.1 <p>
22     <h2>Tags</h2>
23     <table border=1>
24     <tr>
25     <td>
26     <font color=green>
27 williamc 1.1.2.5.2.2 &lt;doc type=BuildSystem::Requirements version=2.0>
28 williamc 1.1.2.4 </font>
29     </td>
30     <td>
31     This indicates to SCRAM what type of document it is (and thus how to parse it)
32     </td>
33     </tr>
34     <tr>
35     <td>
36     <font color=green>
37 williamc 1.1.2.5.2.1 &lt;require name=<em>tool_name</em> version=<em>tool_version</em>
38 williamc 1.1.2.5.2.2 url=<em>ToolDoc</em>>
39 williamc 1.1.2.5 <br>
40     <em>Descriptive Comments</em>
41     <br>
42     &lt;/require>
43 williamc 1.1.2.1 </font>
44     </td>
45     <td>
46 williamc 1.1.2.5.2.3 Specify the name and version of a required tool.
47 williamc 1.1.2.5.2.2 The url should point to the
48 williamc 1.1.2.1 <a href=configurationtools.html>ToolDoc</a> that describes the requested tool
49 williamc 1.1.2.5.2.2 The url can be modified by <a href=ActiveDoc.html>&lt;Base> tags</a>
50 williamc 1.1.2.5.2.3 By default the tool is also selected for use in the project -i.e. scheduled
51     to be set up in the configuration area etc. This can be modified with the
52     &lt;restrict> tags described below.
53 williamc 1.1.2.1 </td>
54     </tr>
55 williamc 1.1.2.5 <tr>
56     <td>
57     <font color=green>
58     &lt;download url=<em>download_link</em>>
59     </font>
60     </td>
61     <td>
62     Provide a link to download information for the requiremnt
63     </td>
64     </tr>
65 williamc 1.1.2.5.2.3 <tr>
66     <td>
67     <font color=green>
68     &lt;Restrict autoselect=<em>true|false</em>><br>
69     &lt;/Restrict>
70     </font>
71     </td>
72     <td>
73     Define the limits of a restriction on the way &lt;require> tags are handled.
74     <br>Outside these tags <em>autoselect=true</em>.
75     </td>
76     </tr>
77     <tr>
78     <td>
79     <font color=green>
80     &lt;select name=<em>tool_name</em>>
81     </font>
82     </td>
83     <td>
84     Selects the tool refered to by name which should correspond to a &lt;require>
85     tag.
86     For use inside a &lt;restrict> context where autoselect=false.
87     </td>
88     </tr>
89     <tr>
90     <td>
91     <font color=green>
92     &lt;deselect name=<em>tool_name</em>>
93     </font>
94     </td>
95     <td>
96     Deselects the tool refered to by name which should correspond to a &lt;require>
97     tag.
98     For use inside a &lt;restrict> context where autoselect=true.
99     </td>
100     </tr>
101 williamc 1.1.2.1 </table>
102    
103 williamc 1.1.2.5.2.3 <h2>Example</h2>
104     <font color=green>
105     <pre>
106     &lt;doc type=BuildSystem::Requirements version=2.0>
107     &lt;base url="cvs://cmscvs.cern.ch/cvs_server/repositories/SCRAM?auth=pserver&user=anonymous&passkey=AA_:yZZ3e">
108     &lt;require name=test version=version1 url="cvs:?module=test/testtool&version=A">
109     This requiremnt refers to a dummy test document used in scram regression tests
110     &lt;/require>
111     &lt;Restrict autoselect=false>
112     &lt;include url="cvs:?module=test/testreqs"> <font color=black>You can include common configuration files</font>
113     &lt;select name=yetanothertool> <font color=black>Then select from a subset of them</font>
114     &lt;/Restrict>
115     &lt;Restrict autoselect=true>
116     &lt;include url="cvs:?module=test/testreqs2">
117     &lt;deselect name=ToolA> <font color=black>As in the example above but this time dropping tools from a common configuration</font>
118     &lt;/Restrict>
119     &lt;/base>
120     </pre>
121     </font>
122 williamc 1.1.2.1 <! Style Sheet Footer ---------------Do not change anything after this line-->
123     <hr>
124     <table border=1 width=100%>
125     <td align=left>
126     <a href=mailto:Christopher.Williams@cern.ch
127     >Chris Williams</a>
128     </td>
129     <td align=center>
130 williamc 1.1.2.5.2.3 Last Updated Tue Aug 22 16:59:11 2000
131 williamc 1.1.2.1 </td>
132     <td align=right><a href=/cgi-cmc/pagestat>Show Stats</a>
133     </td>
134     </table>
135     </body> </html>
136     <! End Style Sheet Footer>