platform-vcm-home/docs/online/cvs_features2.0/cvs-faq.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.53 - (view) (download) (as text)

1 : jlemieux 1.44 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 : jlemieux 1.48 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
3 : jlemieux 1.44 <head>
4 : jlemieux 1.48 <meta content="application/xhtml+xml; charset=utf-8"
5 :     http-equiv="content-type">
6 :     <meta content="haran" name="author">
7 :     <meta content="Windows Notepad" name="generator">
8 :     <link type="text/css" href="http://dev.eclipse.org/default_style.css"
9 :     rel="stylesheet">
10 :     <link title="Grey boxes stylesheet"
11 : jlemieux 1.44 href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-vcm-home/layout.css"
12 : jlemieux 1.48 type="text/css" rel="stylesheet">
13 :     <link
14 :     href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-vcm-home/colors.css"
15 :     type="text/css" rel="stylesheet">
16 : mvalenta 1.49 <title>Eclipse Platform - CVS FAQ</title>
17 : jlemieux 1.44 </head>
18 :     <body>
19 : jlemieux 1.48 <table width="100%" cellpadding="2" cellspacing="5" border="0">
20 : jlemieux 1.44 <tbody>
21 :     <tr>
22 : jlemieux 1.48 <td width="72%" align="left"> <font class="indextop"> CVS</font><br>
23 : jlemieux 1.44 <font class="indexsub">platform cvs support</font></td>
24 : jlemieux 1.48 <td width="28%"><img width="120" height="86"
25 :     src="http://dev.eclipse.org/images/Idea.jpg"></td>
26 : jlemieux 1.44 </tr>
27 :     </tbody>
28 :     </table>
29 : jlemieux 1.41 <h1>CVS Eclipse Plug-in FAQ</h1>
30 : mvalenta 1.53 <p>Last Modified: $Date: 2005/04/04 17:52:44 $</p>
31 : james 1.1 <ul>
32 : jlemieux 1.44 <li><b><a href="#gettingStarted">Getting started</a></b>
33 : jlemieux 1.36 <ol>
34 : jlemieux 1.44 <li><a href="#gettingStarted_1">How do I get a project into my
35 :     workspace from CVS?</a></li>
36 :     <li><a href="#gettingStarted_2">How do I put a project into CVS
37 :     from my workspace?</a></li>
38 :     <li><a href="#gettingStarted_3">I already have a project checked
39 :     out from CVS with the command-line tool. How do I use it in Eclipse
40 :     without having to check out the whole project again?</a></li>
41 : jlemieux 1.36 </ol>
42 :     </li>
43 : jlemieux 1.44 <li><b><a href="#browsing">Browsing the Repository</a></b>
44 : jlemieux 1.36 <ol>
45 : jlemieux 1.44 <li><a href="#browsing_1">Why don't my branches and versions show
46 :     up when I am browsing?</a></li>
47 :     <li><a href="#browsing_2">Why do some modules defined in
48 :     CVSROOT/modules appear empty in the CVS Repositories view?</a></li>
49 :     <li><a href="#browsing_3">When I expand HEAD in the CVS
50 :     Repositories View, it is always empty even though I know the repository
51 :     has contents. Whats wrong?</a></li>
52 : jlemieux 1.36 </ol>
53 :     </li>
54 : jlemieux 1.44 <li><b><a href="#server">Server Issues</a></b>
55 : kevinm 1.15 <ol>
56 : jlemieux 1.44 <li><a href="#server_1">What server versions of CVS are supported
57 :     by Eclipse?</a></li>
58 :     <li><a href="#server_1a">Why doesn't Eclipse 2.1.x work with CVS
59 :     server versions 1.11.7 and beyond?</a></li>
60 : kevinm 1.15 <li><a href="#server_cvsnt">Why isn't CVSNT supported?</a></li>
61 :     <li><a href="#server_2">Where can I get CVS for UNIX or Windows?</a></li>
62 :     <li><a href="#server_3">Where can I find documentation on CVS?</a></li>
63 : jlemieux 1.44 <li><a href="#server_4">I'm having problems running CVSNT
64 :     1.11.1.1 on Windows 2000, what's wrong?</a></li>
65 :     <li><a href="#server_5">I use logical repository mapping under
66 :     CVSNT 1.11.1.3, but Eclipse complains. What's wrong?</a></li>
67 :     <li><a href="#server_6">When I perform a Replace With or Update
68 :     operation, Eclipse tells me that option -C is not supported. What's
69 :     wrong?</a></li>
70 :     <li><a href="#server_7">I performed a Replace With or Override
71 :     and Update and one of the files involved ended up with strange
72 :     characters in it. Why?</a></li>
73 :     <li><a href="#server_8">I got a "received broken pipe signal"
74 :     error. What does it mean?</a></li>
75 :     <li><a href="#server_9">How do I use a local connection with
76 :     Eclipse?</a></li>
77 :     <li><a href="#server_10">When using CVSNT, why do I get the error
78 :     "Error fetching file revisions" when synchronizing?</a></li>
79 :     <li><a href="#server_11">Why can't I get Eclipse to work with
80 :     CVSNT and mapped network drives?</a></li>
81 :     <li><a href="#server_12">Using CVSNT, Why do I get the error "cvs
82 :     [server aborted]: cannot find .: No such file or directory"?</a></li>
83 :     <li><a href="#server_13">My server has been configured to use an
84 :     alternate server name. What do I need to do?</a></li>
85 : jlemieux 1.36 </ol>
86 :     </li>
87 : jlemieux 1.44 <li><b><a href="#ssh">Using SSH with CVS</a></b>
88 : jlemieux 1.36 <ol>
89 : jlemieux 1.44 <li><a href="#ssh_1">How do I use SSH to communicate with the
90 :     server?</a></li>
91 :     <li><a href="#ssh_2">What is the difference between ext and
92 :     extssh?</a></li>
93 : mvalenta 1.53 <li><a href="#ssh_jcraft">My SSH server only support SSH2 protocol and
94 :     I'm using Eclipse 2.1.x</a></li>
95 :     <li><a href="#ssh_3">How do I set up public-key authentication for use with
96 :     an external SSH client?</a></li>
97 : jlemieux 1.44 <li><a href="#ssh_4">When I try to connect using SSH, it tells me
98 :     "Could not chdir to home directory /home/user/myname". What did I do
99 :     wrong?</a></li>
100 :     <li><a href="#ssh_5">I got an 'Unknown response' while trying to
101 :     perform CVS browsing. What went wrong?</a></li>
102 : mvalenta 1.53 <li><a href="#ssh_6">I can't get keys generated using Putty to work with Eclipse</a></li>
103 : jlemieux 1.44 </ol>
104 :     </li>
105 :     <li><b><a href="#10">Upgrading from Eclipse 1.0</a></b>
106 :     <ol>
107 :     <li><a href="#10_1">Is there anything I should do before
108 :     upgrading from Eclipse 1.0 to 2.0?</a></li>
109 :     <li><a href="#10_2">I'm using a workspace from 1.0. Why does the
110 :     Team menu only contain "Share Project"?</a></li>
111 :     <li><a href="#10_3">Eclipse 1.0 created all my files as binary in
112 :     the repository. How do I fix this?</a></li>
113 :     <li><a href="#10_4">Is a Branch the same as a Stream? What about
114 :     other 1.0 terminology?</a></li>
115 :     <li><a href="#10_5">I get a message saying the .vcm_meta file is
116 :     obsolete and should be deleted. Should I really delete it?</a></li>
117 :     </ol>
118 :     </li>
119 :     <li><b><a href="#java">Using Eclipse and CVS for Java development</a></b>
120 :     <ol>
121 :     <li><a href="#java_1">When I check out a Java project from the
122 :     repository, how do I make Eclipse aware it is a Java project?</a></li>
123 :     <li><a href="#java_2">What is the .classpath file? Should I
124 :     release it to the repository?</a></li>
125 :     <li><a href="#java_3">In my CVS repository, there is a source
126 :     directory in the repository root. How can I use this with Eclipse?</a></li>
127 :     <li><a href="#java_4">How do I check out a module definition as a
128 :     Java project</a></li>
129 :     <li><a href="#java_5">Why does the bin directory keep appearing
130 :     in the Synchronize view?</a></li>
131 :     <li><a href="#java_5a">I ignored the bin directory but it appears
132 :     to be shared anyway. Why?</a></li>
133 : jlemieux 1.36 <li><a href="#java_6">How do I use CVS keywords in Java templates?</a></li>
134 : jlemieux 1.44 <li><a href="#java_7">I'm working with a virtual module defined
135 :     in the CVSROOT/modules file. How do I commit the .project and/or
136 :     .classpath file?</a></li>
137 : jlemieux 1.36 </ol>
138 :     </li>
139 : jlemieux 1.44 <li><b><a href="#commandLine">Compatibility Between CVS command-line
140 :     client and Eclipse</a></b>
141 : jlemieux 1.36 <ol>
142 : jlemieux 1.44 <li><a href="#commandLine_1">Does Eclipse use [WinCVS|CVS
143 :     command-line client] to talk to the server?</a></li>
144 :     <li><a href="#commandLine_2">The command-line CVS client stores
145 :     information in CVS folders. Does Eclipse do the same thing? If so,
146 :     where are the folders?</a></li>
147 :     <li><a href="#commandLine_3">Is Eclipse compatible with the
148 :     command-line CVS client?</a></li>
149 :     <li><a href="#commandLine_4">Can I import a project into Eclipse
150 :     that was checked out using the command line?</a></li>
151 :     <li><a href="#commandLine_5">Why does Eclipse corrupt my *.jar,
152 :     *.zip, etc. files?</a></li>
153 :     <li><a href="#commandLine_6">When I use the command-line CVS on
154 :     my project, why do the CVS folders sometimes appear in the Navigator
155 :     View?</a></li>
156 :     <li><a href="#commandLine_7">When I use the command-line CVS on
157 :     my project, why go I get "resource out of sync" errors?</a></li>
158 : jlemieux 1.36 </ol>
159 :     </li>
160 : jlemieux 1.44 <li><b><a href="#patches">Working with Patches</a></b>
161 : jlemieux 1.36 <ol>
162 :     <li><a href="#patches_1">How do I send someone a patch?</a></li>
163 : jlemieux 1.44 <li><a href="#patches_2">How do I apply a patch that someone sent
164 :     me?</a></li>
165 : jlemieux 1.36 </ol>
166 :     </li>
167 : jlemieux 1.44 <li><b><a href="#linux">Linux Issues</a></b>
168 : jlemieux 1.36 <ol>
169 : jlemieux 1.44 <li><a href="#linux_0">On linux, using IBM JRE 1.3.0, I get a
170 :     timeout when connecting to a repository. What's wrong?</a></li>
171 :     <li><a href="#linux_1">On Red Hat 8, Eclipse fails to make a
172 :     checkout but it works with other clients. Why?</a></li>
173 : jlemieux 1.36 </ol>
174 :     </li>
175 : jlemieux 1.44 <li><b><a href="#windows">Windows Issues</a></b>
176 : jlemieux 1.36 <ol>
177 : jlemieux 1.44 <li><a href="#windows_0">Eclipse crashed Windows 2000 (blue
178 :     screen) when performing a CVS operation. What happened?</a></li>
179 :     <li><a href="#windows_2">Eclipse always times out when performing
180 :     a Synchronize on one or two particular machines?</a></li>
181 :     <li><a href="#windows_3">Why do CVS operations slow down when I
182 :     am connected to my network/dial-up?</a></li>
183 :     <li><a href="#windows_4">Why do all my files show as outgoing
184 :     changes?</a></li>
185 : jlemieux 1.36 </ol>
186 :     </li>
187 : jlemieux 1.44 <li><b><a href="#misc">Miscellaneous</a></b>
188 : jlemieux 1.36 <ol>
189 : jlemieux 1.44 <li><a href="#misc_0">Is there any equivalent to CVS_CLIENT_LOG
190 :     is Eclipse?</a></li>
191 :     <li><a href="#misc_1">What is the .project file, and should I
192 :     release it to CVS?</a></li>
193 :     <li><a href="#misc_2">I don't have update access to the CVS
194 :     repository. Can I still check out a project with Eclipse?</a></li>
195 :     <li><a href="#misc_3">What does "Terminated with fatal signal 10"
196 :     mean?</a></li>
197 :     <li><a href="#misc_4">I copied some folders from one CVS project
198 :     to another and the old CVS information remained. What happened?</a></li>
199 :     <li><a href="#misc_8">I used Team &gt; Share Project to connect a
200 :     local project to an existing project and it takes forwever. Why?</a></li>
201 : jlemieux 1.36 <li><a href="#misc_9">Does Eclipse support Watch/Edit?</a></li>
202 : jlemieux 1.44 <li><a href="#misc_12">Why do I get a "Pre-commit failed" error
203 :     with no detailed error message?</a></li>
204 : kevinm 1.15 </ol>
205 : jlemieux 1.36 </li>
206 : james 1.1 </ul>
207 :     <!-- End of table of contents -->
208 :     <!-- Getting Started -->
209 : jlemieux 1.42 <h1>Getting Started</h1>
210 : james 1.1 <ol>
211 : jlemieux 1.44 <li><b><a name="gettingStarted_1">How do I get a project into my
212 :     workspace from CVS?</a></b>
213 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
214 :     <ol>
215 :     <li>Window-&gt;Show View-&gt;Other. Select CVS-&gt;CVS
216 :     Repositories.</li>
217 :     <li>Context Menu-&gt;New-&gt;Repository Location...</li>
218 :     <li>Fill in the location information identifying your repository
219 :     and click Finish.</li>
220 :     <li>Expand the newly-created repository location.</li>
221 :     <li>Expand HEAD.</li>
222 :     <li>Find the module you are interested in.</li>
223 :     <li>Context Menu-&gt;Check Out As Project.</li>
224 :     </ol>
225 :     <br>
226 :     The project now exists in your workspace. </li>
227 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
228 :     </p>
229 :     <li><b><a name="gettingStarted_2">How do I put a project into CVS
230 :     from my workspace?</a></b>
231 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
232 :     <ol>
233 :     <li>Select the project in the Navigator or other view.</li>
234 :     <li>Context Menu-&gt;Team-&gt;Share Project...</li>
235 :     <li>Fill in the location information identifying your repository
236 :     and click Finish.</li>
237 :     <li>The Synchronize view opens, showing all your outgoing changes.</li>
238 :     <li>Select the project in the Synchronize view.</li>
239 :     <li>Context Menu-&gt;Commit.</li>
240 :     <li>Answer yes when prompted to add new files to version control.</li>
241 :     <li>Supply a release comment if you like.</li>
242 :     </ol>
243 :     <br>
244 :     The project now exists in the repository. </li>
245 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
246 :     </p>
247 :     <li><b><a name="gettingStarted_3">I already have a project checked
248 :     out from CVS with the command-line tool. How do I use it in Eclipse
249 :     without having to check out the whole project again?</a></b>
250 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
251 :     <ol>
252 :     <li>Create a project in the workspace.</li>
253 :     <li>File-&gt;Import, select File System, locate your files, click
254 :     Finish.</li>
255 :     <li>Select the project in the Navigator or other view.</li>
256 :     <li>Context Menu-&gt;Team-&gt;Share Project...</li>
257 :     <li>The wizard should tell you that it found all the necessary
258 :     information. Click Finish.</li>
259 :     </ol>
260 :     <br>
261 :     Eclipse has now shared the project with the CVS repository. </li>
262 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
263 : james 1.1 </ol>
264 :     <br>
265 :     <!-- Browsing the Repository -->
266 : jlemieux 1.42 <h1>Browsing the Repository</h1>
267 : james 1.1 <ol>
268 : jlemieux 1.44 <li><b><a name="browsing_1">Why don't my branches and versions show
269 :     up when I am browsing?</a></b>
270 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
271 :     <p>When you are browsing in the CVS Repositories view, you may
272 :     expect to see branch and version tags which you have previously
273 :     created. In CVS, such tags are stored on individual files rather than
274 :     on projects or folders. Rather than scan every file in the repository,
275 :     Eclipse only scans one well-known file, .project, which should exist in
276 :     every Eclipse project. It is possible that you have other interesting
277 :     tags that do not appear on .project but which you would like to show up
278 :     in the CVS Repositories view.</p>
279 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
280 :     <p>To make these tags appear, do the following:</p>
281 :     <ol>
282 :     <li>Open the CVS Repositories view.</li>
283 :     <li>Expand HEAD and select the project for which you want to
284 :     configure tags.</li>
285 :     <li>Context Menu-&gt;Configure Branches and Versions...</li>
286 :     <li>In the "Browse files for tags" table, select one or more
287 :     files that contain tags you would like to see.</li>
288 :     <li>Click "Add Selected Tags".</li>
289 :     <li>Click "OK".</li>
290 :     </ol>
291 :     <br>
292 :     The CVS Repositories view will now display the chosen tags under the
293 :     Branches and Versions categories. In addition, these tags will show up
294 :     in other tag-related operations, such as "Replace With-&gt;Branch or
295 :     Version...". </li>
296 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
297 :     <li><b><a name="browsing_2">Why do some modules defined in
298 :     CVSROOT/modules appear empty in the CVS Repositories view?</a></b>
299 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
300 :     <p>Some modules are not expandable because their definition is
301 :     complex and difficult to parse on the client. These modules can still
302 :     be checked out properly using the "Check Out Module" menu command from
303 :     the module's context menu. </p>
304 :     </li>
305 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
306 :     <li><b><a name="browsing_3">When I expand HEAD in the CVS
307 :     Repositories View, it is always empty even though I know the repository
308 :     has contents. Whats wrong?</a></b>
309 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
310 :     <p>If you also see messages from the server like "-f server: ...",
311 :     this indicates that your CVS server has not been configured properly.
312 :     Here is the line as it should appear in the "/etc/inetd.conf" file
313 :     (example from AIX but the problem has also been seen on Solaris):</p>
314 :     <ul>
315 :     <li>cvspserver stream tcp nowait root /usr/bin/cvs cvs -f
316 :     --allow-root=/usr/cvsroot pserver</li>
317 :     </ul>
318 :     <p>The key is the 2nd copy of "cvs". The online cvs book at <a
319 :     href="http://cvsbook.red-bean.com/cvsbook.html#The_pserver_access_method_is_not_working">
320 : mvalenta 1.28 http://cvsbook.red-bean.com/cvsbook.html</a>
321 : jlemieux 1.44 has it right (although I thought it was a typo so never tried it). Look
322 :     for "The pserver access method is not working" section. Part of the
323 :     reason I got this wrong is that the linux xinetd configuration
324 :     does not duplicate the name of the program. At one point I
325 : mvalenta 1.28 just copied the fields from the linux config into the fields in the AIX
326 : jlemieux 1.44 inetd.conf file. Now that I know what to look for, the other entries in
327 :     the inetd.conf file
328 : mvalenta 1.28 have the program name duplicated.</p>
329 : jlemieux 1.44 </li>
330 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
331 : james 1.1 </ol>
332 :     <br>
333 : kevinm 1.16 <!-- Server Issues -->
334 : jlemieux 1.43 <h1>Server Issues</h1>
335 : james 1.1 <ol>
336 : jlemieux 1.48 <li><b><a name="server_1">What server versions of CVS are supported
337 :     by Eclipse?</a></b>
338 : jlemieux 1.44 <p>&nbsp; </p>
339 : jlemieux 1.48 <p>In 3.0, Eclipse supports CVS version 1.11.1p1 or higher, running
340 : mvalenta 1.49 on a Linux or UNIX server and CVSNT 2.0.58d or later, when properly
341 :     <a href="../html-cvs/cvs-compatibility.html">configured</a>. Eclipse 2.1.2 and before does not work with
342 : jlemieux 1.48 CVS versions greater than 1.11.6 (see <a href="#server_1a">next point</a>).
343 : mvalenta 1.49 CVSNT versions prior to 2.0.58d are not supported but some versions have been reported to
344 :     work with few problems.
345 :     There have also been some
346 : jlemieux 1.48 problems reported with HPUX and Solaris version (see <a
347 : jlemieux 1.44 href="#browsing_3">above</a>). </p>
348 :     </li>
349 : jlemieux 1.48 <li><b><a name="server_1a">Why doesn't Eclipse 2.1.x work with CVS
350 :     server versions 1.11.7 and beyond?</a></b>
351 : jlemieux 1.44 <p>&nbsp; </p>
352 : jlemieux 1.48 <p>Most of the interesting Eclipse CVS functionality relies on the
353 :     format of the messages and the change in format made in 1.11.7 breaks
354 :     the parsing in Eclipse versions proir to 2.1.3. Most of the
355 :     incompatibilities for 1.11.x were adressed in 2.1.3. See bugs <a
356 :     href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=46655">46655</a>
357 :     and <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=49056">49056</a>
358 :     for patches and workarounds for previous versions of Eclipse or
359 :     remaining incompatibilities. As for 1.12.x releases of CVS, Eclipse
360 :     2.1.x is not compatible with this server version. Eclipse 3.0 is
361 :     compatible with 1.12.7 but future releases of CVS may cause similar
362 :     breakages. In such cases, Team&gt;Update and Team&gt;Commit should
363 :     still work but the more advanced workflows (e.g. synchronizing) may not
364 :     be reliable.</p>
365 :     </li>
366 : mvalenta 1.49 <li><b><a name="server_cvsnt">Why aren't older (pre 2.0.58d) CVSNT versions supported?</a></b>
367 :     <p>The reason older CVSNT versions aren't supported is because traditionally its
368 :     development effort had been smaller and has lagged behind that of CVS
369 :     Linux, thus its quality tends to be of issue. That has changed as of version 2.0.58d
370 :     which is now supported (when properly
371 :     <a href="../html-cvs/cvs-compatibility.html">configured</a>) on Eclipse 3.0 and beyond.</p>
372 : mvalenta 1.47 </li>
373 : jlemieux 1.48 <li><b><a name="server_2">Where can I get CVS for UNIX or Windows?</a></b>
374 : jlemieux 1.44 <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
375 :     <p>CVS for UNIX can be downloaded from <a
376 : jlemieux 1.48 href="http://www.cvshome.org">http://www.cvshome.org</a>. CVSNT can be
377 :     downloaded from <a href="http://www.cvsnt.org">http://www.cvsnt.org</a>.</p>
378 : jlemieux 1.44 </li>
379 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
380 : jlemieux 1.48 <li><b><a name="server_3">Where can I find documentation on CVS?</a></b>
381 : jlemieux 1.44 <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
382 :     <p>The CVS manual can be browsed online at <a
383 : jlemieux 1.48 href="http://www.cvshome.org/docs/manual/">http://www.cvshome.org/docs/manual/</a>.
384 :     The CVS FAQ-O-Matic can be found at <a
385 : jlemieux 1.44 href="http://ccvs.cvshome.org/fom/fom.cgi">http://ccvs.cvshome.org/fom/fom.cgi</a>.</p>
386 :     </li>
387 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
388 : jlemieux 1.48 <li><b><a name="server_4">I'm having problems running CVSNT 1.11.1.1
389 :     on Windows 2000, what's wrong?</a></b>
390 : jlemieux 1.44 <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
391 : jlemieux 1.48 <p>We have reports that CVSNT 1.11.1.1 (and perhaps later versions)
392 :     will not run on Windows 2000 unless Service Pack 2 or later is
393 :     installed.</p>
394 : jlemieux 1.44 </li>
395 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
396 : jlemieux 1.48 <li><b><a name="server_5">I use logical repository mapping under
397 :     CVSNT 1.11.1.3, but Eclipse complains. What's wrong?</a></b>
398 : jlemieux 1.44 <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
399 : jlemieux 1.48 <p>You have set up relative mapping (repository prefix) under
400 :     CVSNT, so that, for example, "D:\cvs\repo" maps to "/REPO". That means
401 :     you should be able to use ":pserver:user@host:/REPO". However, CVSNT
402 :     does not always communicate these paths to the client properly; in
403 :     particular, Eclipse needs information for synchronization which is not
404 :     included in this mode of operation. The solution is to change your
405 :     CVSNT server settings to disable the use of a repository prefix, and
406 :     use the full path of the repository, thus:
407 :     ":pserver:user@host:D:\cvs\repo".</p>
408 : jlemieux 1.44 </li>
409 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
410 : jlemieux 1.48 <li><b><a name="server_6">When I perform a Replace With or Update
411 :     operation, Eclipse tells me that option -C is not supported. What's
412 :     wrong?</a></b>
413 : jlemieux 1.44 <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
414 : jlemieux 1.48 <p>This error indicates that your server version is CVS 1.10 or
415 :     before. The -C option was introduced in version 1.11. See <a
416 : jlemieux 1.44 href="#server_1">above</a> for supported CVS versions.</p>
417 :     </li>
418 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
419 : jlemieux 1.48 <li><b><a name="server_7">I performed a Replace With or Override and
420 :     Update and one of the files involved ended up with strange characters
421 :     in it. Why?</a></b>
422 : jlemieux 1.44 <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
423 : jlemieux 1.48 <p>This error indicates that your server version is CVS 1.11 which
424 :     has a bug when replacing a locally dirty file. See <a href="#server_1">above</a>
425 :     for supported CVS versions.</p>
426 : jlemieux 1.44 </li>
427 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
428 : jlemieux 1.48 <li><b><a name="server_8">I got a "received broken pipe signal"
429 :     error. What does it mean?</a></b>
430 : jlemieux 1.44 <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
431 : jlemieux 1.48 <p>Eclipse sometime performs multiple commands within a single
432 :     connection to the server. This may cause problems with CVS server that
433 :     are running server scripts in reponse to certain commands.</p>
434 : jlemieux 1.44 </li>
435 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
436 : jlemieux 1.48 <li><b><a name="server_9">How do I use a local connection with
437 :     Eclipse?</a></b>
438 : jlemieux 1.44 <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
439 : jlemieux 1.48 <p>Eclipse does not support the use of the local connection method
440 :     as this requires a CVS client that also includes the CVS server code in
441 :     it. Command line cvs uses the same executable for the client and the
442 :     server whereas Eclipse is a client only. Since the repository is on the
443 :     same machine as the client, you should be able to use pserver.</p>
444 : jlemieux 1.44 </li>
445 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
446 : jlemieux 1.48 <li><b><a name="server_10">When using CVSNT, why do I get the error
447 :     "Error fetching file revisions" when synchronizing?</a></b>
448 : jlemieux 1.44 <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
449 : jlemieux 1.48 <p>This error, or an error stating that "An error has occurred
450 :     processing file &lt;repo file&gt; &lt;revision&gt;", occur when the
451 :     CVSNT server has been configured to use a repository prefix (also
452 :     referred to as a repository alias). CVSNT provides this mechanism to
453 :     allow compatibility with the Unix/Linux based command line tools.
454 :     However, the CVSNT server does not properly map the repository paths
455 :     that are communicated in text messages. The Eclipse CVS client relies
456 :     on these text messages to provide advanced features such as
457 :     synchronization and compare. In order for these features to work
458 :     properly, the CVSNT server must not be configured to use a repository
459 :     prefix. Instead, the full path name (i.e. D:\cvs\root) must be used
460 :     (see related question <a href="#server_5">above</a>). </p>
461 : jlemieux 1.44 </li>
462 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
463 : jlemieux 1.48 <li><b><a name="server_11">Why can't I get Eclipse to work with CVSNT
464 :     and mapped network drives?</a></b>
465 : jlemieux 1.44 <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
466 : jlemieux 1.48 <p>The problem is that CVSNT (as of 1.11.1.3) only supports using
467 :     the local connection method with network drives and Eclipse does not
468 :     support this connection method (see <a href="#server_9">above</a>). </p>
469 : jlemieux 1.44 </li>
470 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
471 : jlemieux 1.48 <li><b><a name="server_12">Using CVSNT, Why do I get the error "cvs
472 :     [server aborted]: cannot find .: No such file or directory"?</a></b>
473 : jlemieux 1.44 <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
474 : jlemieux 1.48 <p>I think the problem is that of user rights on the machine CVSNT
475 :     is running on. You might try one or more of the following options: </p>
476 : mvalenta 1.33 <ul>
477 : jlemieux 1.48 <li>create a group having full access rights to the CVSNT
478 :     repository directory structure plus the temp folder CVSNT is using.
479 :     This is easiest if you specify a separate CVSNT temp directory such as
480 :     "c:\cvstemp" using the Advanced tab in the<br>
481 :     CVSNT control panel.&nbsp; (The default temporary directories in
482 :     "C:\WINNT\TEMP" and "C:\Documents and Settings" have access
483 :     restrictions under Win2000 and WinXP).</li>
484 : jlemieux 1.44 <li>turn off impersonation in CVSNT</li>
485 : jlemieux 1.48 <li>add all CVS users to PowerUsers on the machine CVSNT is
486 :     running on</li>
487 : jlemieux 1.44 </ul>
488 :     <p></p>
489 : mvalenta 1.40 <p></p>
490 : mvalenta 1.33 </li>
491 : jlemieux 1.48 <li><b><a name="server_13">My server has been configured to use an
492 :     alternate server name. What do I need to do?</a></b>
493 : jlemieux 1.44 <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
494 : jlemieux 1.48 <p>Custom server names cause problems for Eclipse CVS because the
495 :     client makes use of the text messages sent from the server. The symptom
496 :     you will see is that expanding HEAD will not show any of the folders in
497 :     the repository. To correct the problem: </p>
498 : jlemieux 1.44 <ol>
499 :     <li>Open the CVS Repositories View. </li>
500 : jlemieux 1.48 <li>From the context menu of the repository location, open the
501 :     Properties page. </li>
502 :     <li>On the CVS properties page (the only one present), select
503 :     "Expect a custom program name" (at the bottom) and enter "cvspserver". </li>
504 : jlemieux 1.44 </ol>
505 : jlemieux 1.48 This should fix the problem. </li>
506 : jlemieux 1.44 <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
507 : james 1.1 </ol>
508 :     <br>
509 :     <!-- SSH -->
510 : jlemieux 1.43 <h1>Using SSH with CVS</h1>
511 : james 1.1 <ol>
512 : mvalenta 1.53 <li><b><a name="ssh_1">How do I use SSH to communicate with the server?</a></b>
513 :     <p>The pserver protocol sends passwords over the network in plaintext. Many
514 :     people prefer to establish a secure connection using SSH. Eclipse supports
515 :     two methods of connecting to CVS repositories using SSH. </p>
516 :     <p>To use the Eclipse's built-in SSH support, simply specify "extssh" as the
517 :     connection method type when creating the repository connection.</p>
518 : jlemieux 1.44 <p>To use SSH support from an external tool, you must: </p>
519 :     <ol>
520 : mvalenta 1.53 <li>Specify "ext" as the connection method type when creating the repository
521 :     connection.</li>
522 :     <li>Window-&gt;Preferences-&gt;Team-&gt;CVS-&gt;Ext Connection Method. On
523 :     this page, specify the name and location of your external ssh client.
524 :     (For example, "<code>C:\plink.exe</code>" or "<code>/usr/local/bin/ssh</code>").
525 :     Also specify the name and location of the CVS binary <b>on the server</b>.
526 :     The default value is often correct.</li>
527 :     <li>Ensure that you can log on to the server using the external SSH tool
528 :     <b>without specifying a password</b>.</li>
529 :     </ol>
530 :     <p><b>Note:</b> In Eclipse 2.1, you can also specify (on the Ext Connection
531 :     Method preference page) the parameters to be passed to the SSH client, including
532 :     the password.</p>
533 :     </li>
534 :     <li><b><a name="ssh_2">What is the difference between ext and extssh?</a></b>
535 :     <p>The extssh connection method uses a built-in SSH client. The ext connection
536 :     method allows you to specify an external SSH client to use. For extssh to
537 :     work with Eclipse 2.1.x and before, the server must be running an SSH server
538 :     with SSH1 protocol compatibility. If extssh does not work, it is possible
539 :     that the server is running only the SSH2 protocol. If this is the case,
540 :     you must configure the ext connection method with an external SSH client.
541 :     In Eclipse 3.0 and beyond, extssh does support SSH2. </p>
542 : jlemieux 1.44 </li>
543 : mvalenta 1.53 <li><a name="ssh_jcraft"></a><strong>My SSH server only support SSH2 protocol
544 :     and I'm using Eclipse 2.1.x</strong> <br>
545 : jlemieux 1.36 <br>
546 : mvalenta 1.53 Eclipse comes with a built-in SSH connection method called 'extssh'. Prior
547 :     to Eclipse 3.0, this method only supported SSH1 servers. If your server is
548 :     running SSH2 and you want to use Eclipse 2.1.x to connect to that server you
549 :     have two options: <br>
550 : jlemieux 1.36 <ol>
551 : mvalenta 1.53 <li>use a command line SSH client that supports SSH2 with the 'ext' connection
552 :     method <br>
553 : jlemieux 1.44 </li>
554 :     <li>download a plugin created by <a
555 : mvalenta 1.53 href="http://www.jcraft.com/eclipse-cvsssh2/">JCraft</a> that provides a SSH2
556 :     connection method. <br>
557 : jlemieux 1.44 </li>
558 : jlemieux 1.36 </ol>
559 : mvalenta 1.53 To use the 'ext' connection method, download and install an SSH command line
560 :     client for your operating environment. In the Team &gt; CVS &gt; Ext Connection
561 :     Method preference page, configure the location of the SSH executable and how
562 :     the executable is to be called. For the ext method to work the CVS client
563 :     on your server must support the server mode. You can verify this by running
564 :     cvs --help-commands and ensure that the server command is supported.<br>
565 :     &nbsp; </li>
566 :     <li><b><a name="ssh_3">How do I set up public-key authentication for an external
567 :     SSH client?</a></b>
568 :     <p>The steps for setting up public-key authentication vary depending on your
569 :     SSH client. However, they all follow this set of common steps: </p>
570 :     <ol>
571 :     <li>Use the client program (or a utility that came with it) to generate
572 :     a public/private key pair. This program might be called ssh-keygen or
573 :     puttygen.exe.</li>
574 :     <li>Copy the public key to the server. This is often done by pasting the
575 :     public key into the file <code>/home/user/.ssh/authorized_keys</code>.</li>
576 :     </ol>
577 :     </li>
578 :     <br>
579 :     <li><b><a name="ssh_4">When I try to connect using SSH, it tells me "Could not
580 :     chdir to home directory /home/user/myname". What did I do wrong?</a></b>
581 :     <p>This often happens when using SourceForge projects for the first time,
582 :     but may occur on other servers as well. You must manually log in to the
583 :     server, using an interactive SSH session, in order to create your home directory
584 :     for the first time. After this, you will be able to log in successfully.
585 :     </p>
586 :     <p>Use your SSH client to connect to the server (e.g. cvs.sourceforge.net)
587 :     and log in with your username and password. Your home directory will be
588 :     created for you.</p>
589 :     </li>
590 :     <li><b><a name="ssh_5">I got an 'Unknown response' while trying to perform CVS
591 :     browsing. What went wrong?</a></b>
592 :     <p>A problem has been reported that involves the Cygwin SSH client (see bug
593 :     <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=21180">21180</a>).
594 :     Try using another SSH client such as Putty or <a
595 : jlemieux 1.44 href="http://www.networksimplicity.com/openssh/">OpenSSH</a>. </p>
596 : jlemieux 1.36 </li>
597 : mvalenta 1.53 <li><a name="ssh_6"><strong>I can't get keys generated using Putty to work with Eclipse</strong></a></li>
598 :     <p>Putty's private key is encrypted by AES, but JCE (Java Crtptgraphy Extension)
599 :     included in J2SE 1.4.x does not support AES. So, at present time, there is
600 :     no plan to support it. Of course, JSch (the SSH2 client used in Eclipse) may
601 :     support Putty's key by using the latest J2SE in the near future, but Eclipse
602 :     3.0/3.1 will not be able to use it because they must run on J2SE 1.4.0.</p>
603 : james 1.1 </ol>
604 :     <br>
605 :     <!-- Upgrading from Eclipse 1.0 -->
606 : jlemieux 1.43 <h1>Upgrading from Eclipse 1.0</h1>
607 : james 1.1 <ol>
608 : jlemieux 1.44 <li><b><a name="10_1">Is there anything I should do before upgrading
609 :     from Eclipse 1.0 to 2.0?</a></b>
610 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
611 :     <p><b>IMPORTANT:</b> Before upgrading from Eclipse 1.0 to 2.0, make
612 :     sure you release all your changes to the repository using Eclipse 1.0.
613 :     Although it is possible to submit the changes using Eclipse 2.0 after
614 :     you upgrade, to do so is not straight forward due to a change in how
615 :     the synchronization information for each project is stored.</p>
616 :     </li>
617 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
618 :     <li><b><a name="10_2">I'm using a workspace from 1.0. Why does the
619 :     Team menu only contain "Share Project"?</a></b>
620 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
621 :     <p>Team support changed drastically between Eclipse 1.0 and 2.0. As
622 :     such, the method of sharing projects with the repository changed as
623 :     well. We have tried to make it relatively easy for you to migrate,
624 :     however. You will notice that your previously shared projects only have
625 :     "Share Project" in the Team menu. If you select that option, a wizard
626 :     will guide you through the migration process. When you are finished,
627 :     your project will be shared and the Synchronize view will open. You
628 :     will see conflicting changes on every file - this is due to changes in
629 :     the way sync information is stored between 1.0 and 2.0. If you do not
630 :     have any outgoing changes (which you shouldn't have if you committed
631 :     all your outgoing changes before upgrading as recommended above), then
632 :     you can simply select the project in the Synchronize view and select
633 :     "Override and Update" which will load the current contents from the
634 :     server. If you do have outgoing changes, you can pull down the triangle
635 :     menu in the Synchronize view and select "Compare File Contents". After
636 :     some work, the Synchronize view will show you only the files which are
637 :     actually different. You can then use the Synchronize view to resolve
638 :     these conflicts.</p>
639 :     </li>
640 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
641 :     <li><b><a name="10_3">Eclipse 1.0 created all my files as binary in
642 :     the repository. How do I fix this?</a></b>
643 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
644 :     <p>Any file checked into a CVS repository from Eclipse 1.0 was
645 :     marked as binary. This means that end-of-line conversions will not
646 :     occur on checkout, and some features of CVS (such as auto-mergeable
647 :     conflicts) will not apply to these files. As such, it may be desirable
648 :     to change some of these files from binary to text. To change the file
649 :     types, do the following:</p>
650 :     <ol>
651 :     <li>Make sure that all members of your team have saved and
652 :     committed any changes to the affected files.</li>
653 :     <li>Select the resources you wish to change in the Navigator or
654 :     other view.</li>
655 :     <li>Context Menu-&gt;Team-&gt;Set Keyword Substitution...</li>
656 :     <li>Select "Automatic" to use the recommended detection. Click
657 :     Next.</li>
658 :     <li>Select the checkbox labelled "Include files that are already
659 :     in the repository". Click Next.</li>
660 :     <li>Click Finish. All affected files will immediately be modified
661 :     in the repository.</li>
662 :     <li>All other team members must now check out fresh copies of all
663 :     affected files.</li>
664 :     </ol>
665 :     </li>
666 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
667 :     <li><b><a name="10_4">Is a Branch the same as a Stream? What about
668 :     other 1.0 terminology?</a></b>
669 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
670 :     <p>In an effort to move away from generic terminology that applies
671 :     to all repository providers, and toward provider-specific terminologies
672 :     and workflows, many terms, menu items and labels have changed in 2.0.
673 :     Here is a brief list of some of the changes. For more detailed
674 :     information, please see the Eclise CVS documentation.</p>
675 :     <table border="1">
676 :     <tbody>
677 :     <tr>
678 :     <td><b>Eclipse 1.0</b></td>
679 :     <td><b>Eclipse 2.0</b></td>
680 :     <td><b>Comments</b></td>
681 :     </tr>
682 :     <tr>
683 :     <td>Stream</td>
684 :     <td>Branch</td>
685 :     <td>The CVS terminology "Branch" replaces "Stream"</td>
686 :     </tr>
687 :     <tr>
688 :     <td>Catchup</td>
689 :     <td>Update</td>
690 :     <td>"Update" refers to the standard CVS method of retrieving
691 :     remote contents. For more details on Update, see the Eclipse CVS
692 :     documentation.</td>
693 :     </tr>
694 :     <tr>
695 :     <td>Release</td>
696 :     <td>Commit</td>
697 :     <td>These terms are equivalent.</td>
698 :     </tr>
699 :     <tr>
700 :     <td>Add to Workspace</td>
701 :     <td>Check Out as Project</td>
702 :     <td>The CVS terminology "Check Out" replaces "Add to
703 :     Workspace".</td>
704 :     </tr>
705 :     <tr>
706 :     <td><i>None</i></td>
707 :     <td>Tag</td>
708 :     <td>In CVS, a Tag refers to either a Branch Tag or a Version
709 :     Tag. Branches and versions together are referred to as Tags.</td>
710 :     </tr>
711 :     </tbody>
712 :     </table>
713 :     </li>
714 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
715 :     <li><b><a name="10_5">I get a message saying the .vcm_meta file is
716 :     obsolete and should be deleted. Should I really delete it?</a></b>
717 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
718 :     <p>In Eclipse 1.0, meta-information about a project was stored in
719 :     .vcm_meta. In Eclipse 2.0, this mechanism was made more general and the
720 :     data was moved to the .project file. As such, the .vcm_meta file is now
721 :     unneeded. The Eclipse CVS client will warn you of this state by placing
722 :     a warning in the task list. If you still have people on your team who
723 :     are using Eclipse 1.0 for development with your repository, then you
724 :     should not delete the .vcm_meta file. If all members of your team are
725 :     using Eclipse 2.0, then you can safely delete the .vcm_meta file and
726 :     commit the deletion to the repository.</p>
727 :     </li>
728 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
729 : james 1.1 </ol>
730 :     <br>
731 :     <!-- Using Eclipse and CVS for Java Development -->
732 : jlemieux 1.43 <h1>Using Eclipse and CVS for Java Development</h1>
733 : james 1.1 <ol>
734 : jlemieux 1.44 <li><b><a name="java_1">When I check out a Java project from the
735 :     repository, how do I make Eclipse aware it is a Java project?</a></b>
736 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
737 :     <p>Eclipse makes use of information in the .project file to
738 :     determine if a project is a Java project. If the project you have
739 :     checked out does not have a .project file, Eclipse will not mark it
740 :     properly. If you use "Checkout As..." instead of "Checkout As Project"
741 :     in the Repositories view, then you will be given an opportunity to
742 :     specify Java as the project type and provide Java specific
743 :     configuration information.</p>
744 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
745 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
746 :     </li>
747 :     <li><b><a name="java_2">What is the .classpath file? Should I commit
748 :     it to the repository?</a></b>
749 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
750 :     <p>Eclipse's Java development tools create and maintain a special
751 :     file, .classpath, in the root of each Java project. This file contains
752 :     information about the project's classpath, including references to
753 :     other projects, external jars, and the project's own source path. If
754 :     you are working on a team with other developers that use Eclipse, you
755 :     probably want to commit this file to the repository so that others can
756 :     benefit from correct classpath settings. If the other developers on
757 :     your team do not use Eclipse, you may still want to commit the
758 :     .classpath file so that your settings are persisted - this should not
759 :     affect the users that are not using Eclipse.</p>
760 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
761 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
762 :     </li>
763 :     <li><b><a name="java_3">In my CVS repository, there is a source
764 :     directory in the repository root. How can I use this with Eclipse?</a></b>
765 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
766 :     <p>If the name of the CVS module is part of the package name of
767 :     Java files, you will encounter problems. For example, if the module you
768 :     check out is called "test", and it contains a folder called "code"
769 :     which contains Java files that claim to be in the package "test.code",
770 :     Eclipse will not be able to compile these Java classes. There are
771 :     several solutions to this problem:</p>
772 :     <ol>
773 :     <li>One solution is to move the top-level package folder ("test"
774 :     in this case) to be a subfolder of the CVS module. In this case, create
775 :     a folder called "test" in the project "test", and move "code" into it.
776 :     Then commit your changes.
777 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
778 :     </li>
779 :     <li>Another possible solution is to use modules definitions.
780 :     Modules can be defined in the CVSROOT/modules file to include root
781 :     level projects as subfolders of the checked out folder stucture. The
782 :     steps to get this to work for the above example are:
783 :     <ol>
784 :     <li>Add the following two lines to the CVSROOT/modules file<br>
785 :     test &amp;test<br>
786 :     MyProject &amp;test </li>
787 :     <li>In the CVS Repositories View, select the modules with the
788 :     name matching the one defined in the CVSROOT/modules file (Note that in
789 :     Eclipse 2.0.x, you will need to switch to "Show Modules" mode using the
790 :     drop down menu in the title bar in order to see the module).</li>
791 :     <li>Select "MyProject" and choose "Checkout Module" from the
792 :     popup menu.</li>
793 :     </ol>
794 :     See the <a href="http://www.cvshome.org">CVS documentation</a> for
795 :     more information on defining modules.
796 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
797 :     </li>
798 :     <li>If you are using Eclipse 2.1, you can create a new Java
799 :     Project and then perform a "Checkout Into..." on the CVS Module. This
800 :     operation allows you to check out a CVS modules into an existing
801 :     project as a subfolder and configures that target project to be shared
802 :     with CVS. </li>
803 :     </ol>
804 :     <p>Source folders must always begin beneath the project, not above
805 :     it. See the Eclipse Java Development Tools documentation for more
806 :     information on source folders.</p>
807 :     </li>
808 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
809 :     <li><b><a name="java_4">How do I check out a module definition as a
810 :     Java project?</a></b>
811 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
812 :     <p>To check out a module that is defined in the CVSROOT/modules
813 :     file as a Java project, you may have to pre-create the target project
814 :     as a java project in the workspace before performing the "Check Out
815 :     Module". </p>
816 :     </li>
817 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
818 :     <li><b><a name="java_5">Why does the bin directory keep appearing in
819 :     the Synchronize view?</a></b>
820 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
821 :     <p>JDT marks most of its build output as being derived resources so
822 :     that CVS and other repository types can easily ignore these resources
823 :     from version control. However, if you define custom source and build
824 :     output folders, the newly created build output folder will not be
825 :     marked as derived. In many cases the root build output folder is named
826 :     bin. To ignore this folder, select it in the navigator and choose Team
827 :     &gt; Add to .cvsignore, then commit the .cvsignore file to the
828 :     repository so that the bin folder will be ignored at all times for that
829 :     project. </p>
830 :     </li>
831 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
832 :     <li><b><a name="java_5a">I ignored the bin directory but it appears
833 :     to be shared anyway. Why?</a></b>
834 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
835 :     <p>If a resources whose name matches a pattern in the .cvsignore
836 :     also exists in the repository, then this resource is not ignored. For
837 :     the case of the bin folder, chances are that the bin folder was
838 :     committed to the repository at some point. The solution is to purge
839 :     this directory from the repository. </p>
840 :     </li>
841 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
842 :     <li><b><a name="java_6">How do I use CVS keywords in Java templates?</a></b>
843 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
844 : mvalenta 1.53 <p>Substitute the usual keyword (e.g. $Revision: 1.52 $) with the $
845 :     escaped version (e.g. $$Revision: 1.52 $$). </p>
846 : jlemieux 1.44 </li>
847 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
848 :     <li><b><a name="java_7">I'm working with a virtual module defined in
849 :     the CVSROOT/modules file. How do I commit the .project and/or
850 :     .classpath file?</a></b>
851 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
852 :     <p>The easiest way to address this problem is to create a project
853 :     in the repository whose purpose is to hold the .project and .classpath
854 :     files for your module. For example, if your module definition is <i>my-module
855 :     &amp;sub-dir1 &amp;sub-dir2</i> you could change it to <i>my-module
856 :     my-module-project &amp;sub-dir1 $sub-dir2</i> where my-module-project
857 :     is an new folder on the CVS server. Committing the .project and
858 :     .classpath files would create the files in this folder. </p>
859 :     </li>
860 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
861 : james 1.1 </ol>
862 :     <br>
863 :     <!-- Compatibility Between CVS Command-line Client and Eclipse -->
864 : jlemieux 1.43 <h1>Compatibility Between CVS Command-line Client and Eclipse</h1>
865 : james 1.1 <ol>
866 : jlemieux 1.44 <li><b><a name="commandLine_1">Does Eclipse use [WinCVS|CVS
867 :     command-line client] to talk to the server?</a></b>
868 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
869 :     <p>No. Eclipse implements a CVS client in Java that talks directly
870 :     to the server using the documented CVS protocol. No external CVS client
871 :     is required.</p>
872 :     </li>
873 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
874 :     <li><b><a name="commandLine_2">The command-line CVS client stores
875 :     information in CVS folders. Does Eclipse do the same thing? If so,
876 :     where are the folders?</a></b>
877 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
878 :     <p>Eclipse stores CVS sync information in CVS/ folders in the same
879 :     way as the command-line CVS client does. However, you rarely see these
880 :     folders within Eclipse. They are marked using a Core facility called
881 :     "team-private" which causes them to be hidden from view. If you open a
882 :     (non-Eclipse) file explorer you will see that these directories and
883 :     their contents appear on the file system.</p>
884 :     </li>
885 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
886 :     <li><b><a name="commandLine_3">Is Eclipse compatible with the
887 :     command-line CVS client?</a></b>
888 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
889 :     <p>Eclipse Team CVS stores its meta information in a format that is
890 :     compatible with the command-line CVS client. Thus you should be able to
891 :     use a CVS command line client against Eclipse workspace files on disk.
892 :     Please note that this support is experimental, and you may run into
893 :     problems. However, we are very interested in making this work, so
894 :     please report any bugs you find.</p>
895 :     <p>Whenever you use external tools to modify workspace files, you
896 :     must perform a Refresh from within Eclipse to make the workspace aware
897 :     of the changes.</p>
898 :     <p>You may encounter unexpected behaviour when using the
899 :     command-line CVS client in conjunction with deleted folders. Eclipse's
900 :     CVS support keeps track of deleted folders and their contents so that,
901 :     on the next synchronization, the Synchronize view can properly report
902 :     on the changes. This information is kept outside of the CVS meta folder
903 :     structure. This is because in CVS you normally inform the repository of
904 :     deletions prior to deleting them locally, which is a different workflow
905 :     than we like to support in the Synchronization view. Thus it is
906 :     recommended that you do not use the command-line CVS client while you
907 :     have pending deletions to commit. In some circumstances it could cause
908 :     the Synchronize view to display incorrect contents, although it should
909 :     not cause any lost work.</p>
910 :     </li>
911 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
912 :     <li><b><a name="commandLine_4">Can I import a project into Eclipse
913 :     that was checked out using the command line?</a></b>
914 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
915 :     <p>Yes you can. However, you may encounter errors from the builder
916 :     related to the copying of the CVS folders. This can have two causes.
917 :     The first is when the project is imported before the CVS plugin is
918 :     loaded. To avoid this problem, make sure you open one of the CVS views
919 :     before importing the project. The second is due to a "race" on import
920 :     between the CVS plugin and other plugins that react to the import. If
921 :     the CVS plugin wins the race, then the CVS folders are hidden but if
922 :     another plugin discovers the CVS folders first, it may cause the
923 :     workbench to "know" about them and perform inappropriate actions on
924 :     them. The best way to solve the problem is to run a <b>Team&gt;Update</b>
925 :     on the project and then shutdown and restart Eclipse (although closing
926 :     and reopening the view in which the CVS folders appear may work as
927 :     well). If this fails, you may need to check the projects out from your
928 :     repository using Eclipse instead of the command line client.</p>
929 :     <p>There is a plugin named <i>org.eclipse.team.cvs.delta</i>
930 :     available on the <a
931 :     href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-vcm-home/dev.html">Development
932 :     Resources</a> page that loads on startup and ensures that CVS folders
933 :     are properly hidden. If you import CVS projects often, you may want to
934 :     use this plugin. </p>
935 :     </li>
936 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
937 :     <li><b><a name="commandLine_5">Why does Eclipse corrupt my *.jar,
938 :     *.zip, etc. files?</a></b>
939 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
940 :     <p>This problem is caused by the keyword substitution mode assigned
941 :     to the file on the server. Any binary files must be marked as -kb. The
942 :     default for CVS is to mark unknown file types as text. CVS provides
943 :     cvswrappers and the cvs admin command to set file types.</p>
944 :     </li>
945 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
946 :     <li><b><a name="commandLine_6">When I use the command-line CVS on my
947 :     project, why do the CVS folders sometimes appear in the Navigator View?</a></b>
948 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
949 :     <p>There are some cases where CVS folders are not hidden from the
950 :     UI as the user would expect. For instance, CVS folders will appear if a
951 :     user imports a CVS project into Eclipse before the CVS plug-in is
952 :     loaded. To avoid this, open the CVS Repositories view (thus loading the
953 :     CVS plug-in) before importing CVS projects into Eclipse. There is also
954 :     a plugin available <a
955 :     href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-vcm-home/dev.html">here</a>
956 :     that will ensure that the CVS folders are properly hidden even if the
957 :     CVS plugin is not loaded.</p>
958 :     </li>
959 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
960 :     <li><b><a name="commandLine_7">When I use the command-line CVS on my
961 :     project, why go I get "resource out of sync" errors?</a></b>
962 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
963 :     <p>This occurs when files that are resources in Eclipse are
964 :     modified outside of Eclipse. One solution is to perform a refresh
965 :     (available from a resource's popup menu) on any resources or projects
966 :     that where modified outside of Eclipse. There is also an "auto-refresh"
967 :     plugin available from Platform Core (click <a
968 :     href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-core-home/dev.html">here</a>
969 :     to go to there).</p>
970 :     </li>
971 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
972 : james 1.1 </ol>
973 :     <br>
974 :     <!-- Working with Patches -->
975 : jlemieux 1.43 <h1>Working with Patches</h1>
976 : james 1.1 <ol>
977 : jlemieux 1.44 <li><b><a name="patches_1">How do I send someone a patch?</a></b>
978 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
979 :     <p>If you have modified a project that you checked out from CVS,
980 :     you may want to send those changes to someone else. This often occurs
981 :     when you do not have commit rights, but want to send the changes to
982 :     someone who does. To create a patch file:</p>
983 :     <ol>
984 :     <li>Select the changed project in the Navigator or other view.</li>
985 :     <li>Context Menu-&gt;Team-&gt;Create Patch...</li>
986 :     <li>Select a location for the patch.</li>
987 :     <li>Use E-mail or other delivery method to send the patch to
988 :     someone else.</li>
989 :     </ol>
990 :     </li>
991 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
992 :     <li><b><a name="patches_2">How do I apply a patch that someone sent
993 :     me?</a></b>
994 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
995 :     <p>To apply a patch, such as one generated in the previous step, do
996 :     the following:</p>
997 :     <ol>
998 :     <li>Select the changed project in the Navigator or other view.</li>
999 :     <li>Context Menu-&gt;Compare With-&gt;Patch...</li>
1000 :     <li>Fill in the location of the patch file</li>
1001 :     <li>Click Next. A summary of changed files will appear.</li>
1002 :     <li>Click Finish. The changes are now merged into the workspace.</li>
1003 :     <li>Context Menu-&gt;Team-&gt;Synchronize. You may now commit the
1004 :     changes into the repository.</li>
1005 :     </ol>
1006 :     </li>
1007 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1008 : james 1.1 </ol>
1009 :     <br>
1010 : mvalenta 1.30 <!-- Linux -->
1011 : jlemieux 1.43 <h1>Linux Issues</h1>
1012 : mvalenta 1.30 <ol>
1013 : jlemieux 1.44 <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1014 :     <li><b><a name="linux_0">On linux, using IBM JRE 1.3.0, I get a
1015 :     timeout when connecting to a repository. What's wrong?</a></b>
1016 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1017 :     <p>Problems have been reported in this area using IBM JRE 1.3.0 on
1018 :     Linux. The solution is to upgrade your JRE to version 1.3.1.</p>
1019 :     </li>
1020 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1021 :     <li><b><a name="linux_1">On Red Hat 8, Eclipse fails to make a
1022 :     checkout but it works with other clients. Why?</a></b>
1023 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1024 :     <p>The problem may be the encoding in /etc/sysconfig/i18n file. If
1025 :     the language encoding is </p>
1026 :     <pre> LANG="en_US.UTF-8"<br> </pre>
1027 :     changing it to
1028 :     <pre> LANG="en_US"<br> </pre>
1029 :     should fix the problem.
1030 :     <p></p>
1031 :     </li>
1032 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1033 : mvalenta 1.30 </ol>
1034 :     <!-- Windows -->
1035 : jlemieux 1.43 <h1>Windows Issues</h1>
1036 : mvalenta 1.30 <ol>
1037 : jlemieux 1.44 <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1038 :     <li><b><a name="windows_0">Eclipse crashed Windows 2000 (blue screen)
1039 :     when performing a CVS operation. What happened?</a></b>
1040 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1041 :     <p>Instances of this have been reported that involve the NDIS.sys
1042 :     driver and particular brands of network cards (see bug <a
1043 :     href="http://dev.eclipse.org/bugs/show_bug.cgi?id=21276">21276</a>).</p>
1044 :     </li>
1045 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1046 :     <li><b><a name="windows_2">Eclipse always times out when performing a
1047 :     Synchronize on one or two particular machines?</a></b>
1048 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1049 :     <p>Instances of this have been reported that involve the VIA
1050 :     on-board network cards (see bug <a
1051 :     href="http://dev.eclipse.org/bugs/show_bug.cgi?id=21276">27077</a>).
1052 :     Changing the network card fixed the problem.</p>
1053 :     </li>
1054 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1055 :     <li><b><a name="windows_3">Why do CVS operations slow down when I am
1056 :     connected to my network/dial-up?</a></b>
1057 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1058 :     <p>I have a large number of entries in my hosts file for anti-ad
1059 :     software - and when I'm connected, name resolution (even to localhost)
1060 :     slows to a crawl. When I'm not connected, localhost gets resolved at
1061 :     normal speed. I think this might be a "feature" of 2000/XP - it didn't
1062 :     happen in NT.</p>
1063 :     </li>
1064 :     <li><b><a name="windows_4">Why do all my files show as outgoing
1065 :     changes?</a></b>
1066 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1067 :     <p>The CVS plugin uses timestamps of the files on disk to track the
1068 :     modification state of versioned files. As a result, there are some
1069 :     cases where Windows users may find that as a result of either (1) an
1070 :     automatic daylight savings change or (2) moving files between file
1071 :     systems, that all the files show up as outgoing changes. See <a
1072 :     href="http://dev.eclipse.org/bugs/show_bug.cgi?id=5337">Bug 5337</a>
1073 :     for an explanation of the problem and workarounds. </p>
1074 : mvalenta 1.50 <p>Thers is a utility action that will reset the timestamps so the
1075 :     files are in-sync with CVS. Be warned however that this utility resets the
1076 :     timestamps for any file whose timestamp differs from the sync timestamp by 1 hour.
1077 :     There is a possibility that this could reset a file that is really dirty. Use at your own risk.
1078 : mvalenta 1.52 To use the action, install the plugin found <a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-vcm-home/plugins/fixtimestamps.zip">here</a>
1079 :     and them run the CVS Util/Fix Timestamps command available from the context menu of the Resource Navigator.
1080 : mvalenta 1.50 </p>
1081 : mvalenta 1.38 </li>
1082 : jlemieux 1.44 <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1083 : mvalenta 1.30 </ol>
1084 : james 1.1 <!-- Miscellaneous -->
1085 : jlemieux 1.43 <h1>Miscellaneous</h1>
1086 : james 1.1 <ol>
1087 : jlemieux 1.44 <li><b><a name="misc_0">Is there any equivalent to CVS_CLIENT_LOG is
1088 :     Eclipse?</a></b>
1089 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1090 :     <p>Yes, there are tracing facilities in Eclipse that will allow you
1091 :     to see what messages are being communicated between the CVS client and
1092 :     server. Here's how:</p>
1093 :     <ol>
1094 :     <li>Create a file named ".options" in you eclipse directory (the
1095 :     directory that contains the executable) that contains the following 2
1096 :     lines that enable CVS debugging.
1097 :     <pre> org.eclipse.team.cvs.core/debug=true<br> org.eclipse.team.cvs.core/cvsprotocol=true<br> </pre>
1098 :     </li>
1099 :     <li>Start Eclipse with the following parameters tailored to you
1100 :     local setup (The below example is for windows). The important aspects
1101 :     are the use of java.exe instead of javaw.exe and the inclusion of the
1102 :     -debug and -consolelog options. These will cause the debug console to
1103 :     be visible and for debugging output to appear in the console.
1104 :     <pre> C:\eclipse\eclipse.exe<br> -vm C:\jre\bin\java.exe<br> -data C:\eclipse\workspace<br> -debug<br> -consolelog<br> </pre>
1105 :     </li>
1106 :     <li>Inside Eclipse, create your repo location and expand it in
1107 :     the repositories view (for example). The CVS command traffic in the
1108 :     debug console should contains an invocation of the update command that
1109 :     looks something like (this is output from dev.eclipse.org):
1110 :     <pre> CMD&gt; cvs -n update -d "."<br> ...<br> update<br> E cvs server: Updating .<br> E cvs server: New directory `CVSROOT' -- ignored<br> E cvs server: New directory `jdt-core-home' -- ignored<br> E cvs server: New directory `jdt-debug-home' -- ignored<br> ...<br> </pre>
1111 :     </li>
1112 :     </ol>
1113 :     </li>
1114 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1115 :     <li><b><a name="misc_1">What is the .project file, and should I
1116 :     release it to CVS?</a></b>
1117 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1118 :     <p>The .project file is created and maintained by Eclipse. It
1119 :     stores meta-information about the project, such as which projects it
1120 :     references and what type of project it is. If other members of your
1121 :     team will be using Eclipse to check out this project from CVS, you
1122 :     almost certainly want to release the .project file to CVS. Even if
1123 :     other members of your team are not using Eclipse, you may still want to
1124 :     release the .project file so that the information is persisted for you.</p>
1125 :     </li>
1126 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1127 :     <li><b><a name="misc_2">I don't have update access to the CVS
1128 :     repository. Can I still check out a project with Eclipse?</a></b>
1129 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1130 :     <p>In some circumstances, depending on permissions on the server,
1131 :     you may not be able to browse the repository in the CVS Repositories
1132 :     view. In this case, it may still be possible to check out the project
1133 :     you want.</p>
1134 :     <ol>
1135 :     <li>Create an empty project.</li>
1136 :     <li>Context Menu-&gt;Team-&gt;Share Project...</li>
1137 :     <li>Enter the repository information and click Finish</li>
1138 :     <li>The Synchronize view appears. Update all incoming changes.</li>
1139 :     </ol>
1140 :     <p>The project in your workspace is now shared with the CVS
1141 :     repository, and contains the remote contents.</p>
1142 :     </li>
1143 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1144 :     <li><b><a name="misc_3">What does "Terminated with fatal signal 10"
1145 :     mean?</a></b>
1146 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1147 :     <p>There is a bug in the CVS server related to some compression
1148 :     levels. If you get this error, change the compression level on the CVS
1149 :     preferences page and see if that helps.</p>
1150 :     </li>
1151 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1152 :     <li><b><a name="misc_4">I copied some folders from one CVS project to
1153 :     another and the old CVS information remained. What happened?</a></b>
1154 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1155 :     <p>There is a bug in the CVS client in Eclipse 2.0 that will not
1156 :     purge the CVS folders properly if a folder under CVS control is moved
1157 :     into a folder that is not under CVS control. If this occurs, you will
1158 :     need to delete the CVS folders manually.</p>
1159 :     </li>
1160 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1161 :     <li><b><a name="misc_8">I used Team &gt; Share Project to connect a
1162 :     local project to an existing project and it takes forwever. Why?</a></b>
1163 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1164 :     <p>The particular method you have chosen to populate your workspace
1165 :     (i.e. create a new project and then sync against a large existing one)
1166 :     happens to be one of the most ineffiecient operations in the Eclipse
1167 :     CVS client. The CVS protocol does not support this type of operation
1168 :     directly which results in the ineffiecient, communication intensive
1169 :     operation. The proper way to populate your workspace is to use
1170 :     "Checkout as Project" from the CVS Repositories view. Once the project
1171 :     and its contents exists locally, the synchronize operatons should be
1172 :     much faster.</p>
1173 :     </li>
1174 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1175 :     <li><b><a name="misc_9">Does Eclipse support Watch/Edit?</a></b>
1176 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1177 :     <p>Eclipse 2.1 supports CVS Edit/Unedit. In 2.0, you can use the
1178 :     following workaround:</p>
1179 :     <pre> Run-&gt;External Tools-&gt;Configure...-&gt;New<br> Name: CVS Watchers<br> Tool Location: C:\cygwin\bin\cvs.exe<br> Tool arguments: watchers<br> Working directory: ${container_loc}<br> After running, refresh: Nothing<br> Check Show Execution Log on Console<br> OK<br> New<br> Name: CVS Edit<br> Tool Location: C:\cygwin\bin\cvs.exe<br> Tool arguments: edit ${resource_name}<br> Working directory: ${container_loc}<br> After running, refresh: Nothing<br> Check Show Execution Log on Console<br> OK<br> </pre>
1180 :     <p> Unedit works the same as Edit, Editors works the same way as
1181 :     Watchers. To use the tools, highlight the file or directory on which to
1182 :     execute the CVS command, then select Run-&gt;External Tools-&gt;<tool
1183 :     name=""> If you don't select the file/directory first, CVS will
1184 :     complain that the CVSROOT variable must be set first. </tool></p>
1185 :     </li>
1186 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1187 :     <li><b><a name="misc_12">Why do I get a "Pre-commit failed" error
1188 :     with no detailed error message?</a></b>
1189 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1190 :     <p> The problem is that the CVS server communicates the error
1191 :     details as M messages instead of E messages and so the error handling
1192 :     in Eclipse doesn't display them. Eclipse has a CVS console which you
1193 :     can open from the Window&gt;Show View&gt;Other menu command. If this
1194 :     view is open and you run the failing commit, it will show you the error
1195 :     details. </p>
1196 :     </li>
1197 :     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
1198 : james 1.1 </ol>
1199 : jlemieux 1.44 </body>
1200 :     </html>