ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/doc/html/localuse.html
Revision: 1.2.2.2
Committed: Wed Jun 16 08:21:36 1999 UTC (25 years, 11 months ago) by williamc
Content type: text/html
Branch: V0_9branch
CVS Tags: V0_10_8, V0_10_7, V0_10_6, V0_10_5, V0_10_4, V0_10_3, V0_10_2, V0_10_1, V0_10_0, V0_10_0beta, V0_9_42, V0_9_41, V0_9_40, V0_9_39, V0_9_38, V0_9_37, V0_9_36, V0_9_35, V0_9_34, V0_9_33, V0_9_32, V0_9_31, V0_9_30, V0_9_29, V0_9_28, V0_9_27, V0_9_26, V0_9_25, V0_9_24, V0_9_23, V0_9_22, V0_9_21, V0_9_20, V0_9_19, V0_9_18, V0_9_17, V0_9_16, V0_9_15
Changes since 1.2.2.1: +13 -0 lines
Log Message:
Add runtime description

File Contents

# User Rev Content
1 williamc 1.1 <! Style Sheet Header>
2     <html>
3     <head>
4     <title>localuse.html</title>
5 williamc 1.2.2.1 <body bgcolor=beige>
6 williamc 1.1 <! End Style Sheet Header -----------Insert Text Here --------------------->
7 williamc 1.2.2.1 <center>
8     <h1>Using Scram as a Developer</h1>
9     <font color=red>S</font>oftware <font color=red>C</font>onfiguration,
10     <font color=red>R</font>elease <font color=red>A</font>nd
11     <font color=red>M</font>anagement
12     </center>
13     <hr>
14     <ol>
15     <li><h2>Online help</h2>
16     Help is available through the use of the help command.
17 williamc 1.1 <p>e.g.<br>
18 williamc 1.2.2.1 <table>
19     <tr>
20     <td>
21     <font size=-1><b>
22     scram help</b></font></td><td>will list the available scram commands</td>
23     </tr>
24     <tr>
25     <td>
26 williamc 1.1 <font size=-1>
27 williamc 1.2.2.1 <b>scram <em>command</em> help</b></font></td>
28     <td> will list the help for that command</td>
29     </tr>
30     <tr>
31     <td>
32 williamc 1.1 <font size=-1>
33 williamc 1.2.2.1 scram build help </font></td><td>Not working right now, but should list
34     the available types of build you can perform in that location</td>
35     </tr>
36     </table>
37 williamc 1.1 <p>
38 williamc 1.2.2.1 <li><h2>Development Spaces</h2>
39     <h3>What are Development Spaces?</h3>
40     A development space is an isolated area that you can use to work on a
41     given project without affecting anyone else. This development space is
42     associated with a specific installation of the project from which it can
43     draw resources (e.g libraries, include files, environment) as required.
44     <h3>Creating Your Local Development Space</h3>
45     To develop on a given project you first need to have a copy of the project
46     installed at your site on which to base your development area.
47     You can see the available locally installed copies
48     with the command :<p>
49     <font size=-1><b>scram list</b></font>
50     <p>
51     To create your personal space you then issue the command:
52     <p>
53     <font size=-1><b>
54 williamc 1.1 scram project <em>project_name</em> <em>project_version</em>
55 williamc 1.2.2.1 </b>
56 williamc 1.1 </font>
57 williamc 1.2.2.1 <p>
58     Where <em>project_name</em> and <em>project_version</em> correspond to those
59     available from the <font size=-1><b>scram list</b></font> command.
60     <p>
61     The development area will reflect the structure and will have the same
62 williamc 1.1 build environment as the base project specified.
63 williamc 1.2.2.1 <p>
64     <li><h2>Using The Development Area</h2>
65 williamc 1.1 Assuming you are at the top of your new development area:
66     <table border=0>
67     <tr>
68     <td>
69     <font size=-1>
70 williamc 1.2.2.1 <b>cd src</font></b></td><td> goto the src directory</td></tr>
71 williamc 1.1 <tr>
72 williamc 1.2.2.1 <td valign=top><font size=-1>
73     <b>cvs co <em>module</em></b> (e.g. for cvs based projects)</font></td>
74 williamc 1.1 <td>Check out whatever module you require. As an example, you may wish to
75     develop a module that corresponds to a library. You will need to check-out the
76     entire module, rather than just the files your working on, as the library
77     building system uses the local file list to specify the library contents.
78     <p>
79     Once checked out you can cd into the module and edit the files as
80 williamc 1.2 required.
81     <p><em><b>Note</b> The cvs co command above will give you the development head.
82     If you wish to use a fixed tagged version or the head of a different
83     development branch you must specify this with the -r option to cvs.
84     <p>
85 williamc 1.2.2.1 e.g. <font size=-1><b>cvs co -r beta <em>module</em></b>
86 williamc 1.2 </font>
87     <p>
88     </td>
89 williamc 1.1 </tr>
90 williamc 1.2.2.1 <td valign=top><font size=-1>
91     <b>
92     scram build</b></td>
93 williamc 1.1 </font>
94     <td>Will perform the default build that corresponds to the directory in which
95     you type the command.</td>
96     </tr>
97     </table>
98 williamc 1.2.2.2 <li><h2>Runtime Environment</h2>
99     Each project you are working on is likeley to have different and possibly
100     even conflicting Environmental requirements during both runtime and build time.
101     SCRAM automatically takes care of the buildtime environment, however it is
102     unable to set your runtime environment for you. It can however tell you what
103     the runtime environment should be for any given project. To see the
104     required environment simply issue the <p>
105     <font size=-1><b>scram runtime [-csh|-sh]</b></font>
106     <p>
107     command from anywhere in a development space. Use the command<p>
108     <font size=-1><b>scram runtime help</b></font>
109     <p>
110     for examples of use.
111 williamc 1.2.2.1 </ol>
112 williamc 1.1 <! Style Sheet Footer ---------------Do not change anything after this line-->
113     <hr>
114     <table border=1 width=100%>
115     <td align=left>
116     <a href=mailto:Christopher.Williams@cern.ch
117     >Chris Williams</a>
118     </td>
119     <td align=center>
120     <script language="JavaScript">
121     <!---//hide script from old browsers
122     document.write( "<br>Last updated "+ document.lastModified
123     );
124     //end hiding contents --->
125     </script>
126     </td>
127     <td align=right>Show <a href=/cgi-cmc/pagestat>Stats</a>
128     </td>
129     </table>
130     </body> </html>
131     <! End Style Sheet Footer>