ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/doc/html/node49.html
Revision: 1.2
Committed: Fri Dec 10 13:52:38 2004 UTC (20 years, 5 months ago) by sashby
Content type: text/html
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
State: FILE REMOVED
Error occurred while calculating annotation data.
Log Message:
*** empty log message ***

File Contents

# Content
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2
3 <!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
4 patched version by: Kenshi Muto, Debian Project.
5 LaTeX2HTML 2002 (1.62),
6 original version by: Nikos Drakos, CBLU, University of Leeds
7 * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
8 * with significant contributions from:
9 Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
10 <HTML>
11 <HEAD>
12 <TITLE>4.2 Importing the Code</TITLE>
13 <META NAME="description" CONTENT="4.2 Importing the Code">
14 <META NAME="keywords" CONTENT="SCRAM">
15 <META NAME="resource-type" CONTENT="document">
16 <META NAME="distribution" CONTENT="global">
17
18 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
19 <META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
20 <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
21
22 <LINK REL="STYLESHEET" HREF="SCRAM.css">
23
24 <LINK REL="previous" HREF="node48.html">
25 <LINK REL="up" HREF="node47.html">
26 <LINK REL="next" HREF="node50.html">
27 </HEAD>
28
29 <BODY bgcolor="beige" >
30 <!--Navigation Panel-->
31 <A NAME="tex2html1025"
32 HREF="node50.html">
33 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
34 SRC="file:/usr/share/latex2html/icons/next.png"></A>
35 <A NAME="tex2html1019"
36 HREF="node47.html">
37 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
38 SRC="file:/usr/share/latex2html/icons/up.png"></A>
39 <A NAME="tex2html1015"
40 HREF="node48.html">
41 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
42 SRC="file:/usr/share/latex2html/icons/prev.png"></A>
43 <A NAME="tex2html1021"
44 HREF="node2.html">
45 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
46 SRC="file:/usr/share/latex2html/icons/contents.png"></A>
47 <A NAME="tex2html1023"
48 HREF="node85.html">
49 <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
50 SRC="file:/usr/share/latex2html/icons/index.png"></A>
51 <BR>
52 <B> Next:</B> <A NAME="tex2html1026"
53 HREF="node50.html">4.2.1 The SCRAM Toolbox</A>
54 <B> Up:</B> <A NAME="tex2html1020"
55 HREF="node47.html">4. Configuring the CVS</A>
56 <B> Previous:</B> <A NAME="tex2html1016"
57 HREF="node48.html">4.1 Authentication</A>
58 &nbsp <B> <A NAME="tex2html1022"
59 HREF="node2.html">Contents</A></B>
60 &nbsp <B> <A NAME="tex2html1024"
61 HREF="node85.html">Index</A></B>
62 <BR>
63 <BR>
64 <!--End of Navigation Panel-->
65
66 <H1><A NAME="SECTION00520000000000000000"></A><A NAME="sec:importingcode"></A><A NAME="1147"></A>
67 <BR>
68 4.2 Importing the Code
69 </H1>
70 Moving source code into a repository is explained in detail in the CVS
71 manual but a brief description is given here. Once project source code
72 exists in a suitable directory tree, the whole project can be imported
73 into a CVS repository using the <TT>cvs import</TT> command.
74 Initially, the <TT>CVSROOT</TT> environment variable must be set and
75 the repository created using the command <TT>cvs init</TT>.
76 To make life easier when defining download paths in bootstrap
77 files, the <TT>CVSROOT</TT> for project <TT>MyProject</TT> on a local
78 filesystem would look like
79
80 <P>
81
82 <UL>
83 <TT>/local/path/cvs_repository/MyProject</TT>
84 </LI>
85 </UL>
86
87 <P>
88 and would be set before importing the code. Import the
89 configuration directory (and contents) first
90
91 <P>
92
93 <UL>
94 <TT>cd config</TT>
95 </LI>
96 </UL>
97 <BR>
98
99 <UL>
100 <TT>cvs import -m "First import of my project config" config V1-0 V1-0</TT>
101 </LI>
102 </UL>
103 <P>
104 and then repeat this step for the project sources:
105
106 <P>
107
108 <UL>
109 <TT>cd MyProject</TT>
110 </LI>
111 </UL>
112 <BR>
113
114 <UL>
115 <TT>cvs import -m "First import of my project src" MyProject V1-0 V1-0</TT>
116 </LI>
117 </UL>
118 <P>
119 Once this has been done and assuming that the import was
120 successful, the original sources can be removed and then restored from CVS
121 using <TT>cvs co MyProject</TT>.
122
123 <P>
124 <BR><HR>
125 <!--Table of Child-Links-->
126 <A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
127
128 <UL>
129 <LI><A NAME="tex2html1027"
130 HREF="node50.html">4.2.1 The SCRAM Toolbox Repository</A>
131 </UL>
132 <!--End of Table of Child-Links-->
133 <HR>
134 <!--Navigation Panel-->
135 <A NAME="tex2html1025"
136 HREF="node50.html">
137 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
138 SRC="file:/usr/share/latex2html/icons/next.png"></A>
139 <A NAME="tex2html1019"
140 HREF="node47.html">
141 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
142 SRC="file:/usr/share/latex2html/icons/up.png"></A>
143 <A NAME="tex2html1015"
144 HREF="node48.html">
145 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
146 SRC="file:/usr/share/latex2html/icons/prev.png"></A>
147 <A NAME="tex2html1021"
148 HREF="node2.html">
149 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
150 SRC="file:/usr/share/latex2html/icons/contents.png"></A>
151 <A NAME="tex2html1023"
152 HREF="node85.html">
153 <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
154 SRC="file:/usr/share/latex2html/icons/index.png"></A>
155 <BR>
156 <B> Next:</B> <A NAME="tex2html1026"
157 HREF="node50.html">4.2.1 The SCRAM Toolbox</A>
158 <B> Up:</B> <A NAME="tex2html1020"
159 HREF="node47.html">4. Configuring the CVS</A>
160 <B> Previous:</B> <A NAME="tex2html1016"
161 HREF="node48.html">4.1 Authentication</A>
162 &nbsp <B> <A NAME="tex2html1022"
163 HREF="node2.html">Contents</A></B>
164 &nbsp <B> <A NAME="tex2html1024"
165 HREF="node85.html">Index</A></B>
166 <!--End of Navigation Panel-->
167 <ADDRESS>
168 scram-developers@cern.ch
169 </ADDRESS>
170 </BODY>
171 </HTML>