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

Comparing COMP/SCRAM/doc/html/requirementdoc.html (file contents):
Revision 1.1.2.2 by williamc, Thu Apr 20 14:08:55 2000 UTC vs.
Revision 1.1.2.5.2.3 by williamc, Tue Aug 22 15:19:01 2000 UTC

# Line 5 | Line 5
5   <body bgcolor=beige>
6   <! End Style Sheet Header -----------Insert Text Here --------------------->
7   <center>
8 < <h2>The Requirements Document</h2>
8 > <h2>The Requirements Document (Version 2.0)</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 < <h2>Function</h2>
16 < The Requirement Document is used to specify which external libraries etc. are
17 < needed for the project. If first version of any given tool is the one
18 < taken as the default. This can be overridden in the
15 > 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 > the first is the one taken as the default. This can be overridden in the
20   <A href=versiondefs.html>External_dependencies</a> configuration file.
21   <p>
22   <h2>Tags</h2>
# Line 23 | Line 24 | taken as the default. This can be overri
24   <tr>
25   <td>
26   <font color=green>
27 < &lt;requirement name=<em>tool_name</em> version=<em>tool_version</em>
27 < file=<em>ToolDoc</em>>
27 > &lt;doc type=BuildSystem::Requirements version=2.0>
28   </font>
29   </td>
30   <td>
31 < Specify the name and version of the required tool.
32 < The file should point to the
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 > &lt;require name=<em>tool_name</em> version=<em>tool_version</em>
38 > url=<em>ToolDoc</em>>
39 > <br>
40 > <em>Descriptive Comments</em>
41 > <br>
42 > &lt;/require>
43 > </font>
44 > </td>
45 > <td>
46 > Specify the name and version of a required tool.
47 > The url should point to the
48   <a href=configurationtools.html>ToolDoc</a> that describes the requested tool
49 + The url can be modified by <a href=ActiveDoc.html>&lt;Base> tags</a>
50 + 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 + </td>
54 + </tr>
55 + <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 + <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   </table>
102  
103 + <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   <! Style Sheet Footer ---------------Do not change anything after this line-->
123   <hr>
124   <table border=1 width=100%>
# Line 43 | Line 127 | The file should point to the
127   >Chris Williams</a>
128   </td>
129   <td align=center>
130 < Last Updated Wed Apr 19 17:17:37 2000
130 > Last Updated Tue Aug 22 16:59:11 2000
131   </td>
132   <td align=right><a href=/cgi-cmc/pagestat>Show Stats</a>
133   </td>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines