| 57 |
by Eclipse?</a></li> |
by Eclipse?</a></li> |
| 58 |
<li><a href="#server_1a">Why doesn't Eclipse 2.1.x work with CVS |
<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> |
server versions 1.11.7 and beyond?</a></li> |
| 60 |
<li><a href="#server_cvsnt">Why isn't CVSNT supported?</a></li> |
<li><a href="#server_cvsnt">Why aren't older (pre 2.0.58d) CVSNT versions supported?</a></li> |
| 61 |
<li><a href="#server_2">Where can I get CVS for UNIX or Windows?</a></li> |
<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> |
<li><a href="#server_3">Where can I find documentation on CVS?</a></li> |
|
<li><a href="#server_4">I'm having problems running CVSNT |
|
|
1.11.1.1 on Windows 2000, what's wrong?</a></li> |
|
|
<li><a href="#server_5">I use logical repository mapping under |
|
|
CVSNT 1.11.1.3, but Eclipse complains. What's wrong?</a></li> |
|
| 63 |
<li><a href="#server_6">When I perform a Replace With or Update |
<li><a href="#server_6">When I perform a Replace With or Update |
| 64 |
operation, Eclipse tells me that option -C is not supported. What's |
operation, Eclipse tells me that option -C is not supported. What's |
| 65 |
wrong?</a></li> |
wrong?</a></li> |
| 70 |
error. What does it mean?</a></li> |
error. What does it mean?</a></li> |
| 71 |
<li><a href="#server_9">How do I use a local connection with |
<li><a href="#server_9">How do I use a local connection with |
| 72 |
Eclipse?</a></li> |
Eclipse?</a></li> |
|
<li><a href="#server_10">When using CVSNT, why do I get the error |
|
|
"Error fetching file revisions" when synchronizing?</a></li> |
|
| 73 |
<li><a href="#server_11">Why can't I get Eclipse to work with |
<li><a href="#server_11">Why can't I get Eclipse to work with |
| 74 |
CVSNT and mapped network drives?</a></li> |
CVSNT and mapped network drives?</a></li> |
| 75 |
<li><a href="#server_12">Using CVSNT, Why do I get the error "cvs |
<li><a href="#server_12">Using CVSNT, Why do I get the error "cvs |
| 76 |
[server aborted]: cannot find .: No such file or directory"?</a></li> |
[server aborted]: cannot find .: No such file or directory"?</a></li> |
|
<li><a href="#server_13">My server has been configured to use an |
|
|
alternate server name. What do I need to do?</a></li> |
|
| 77 |
</ol> |
</ol> |
| 78 |
</li> |
</li> |
| 79 |
<li><b><a href="#ssh">Using SSH with CVS</a></b> |
<li><b><a href="#ssh">Using SSH with CVS</a></b> |
| 325 |
<!-- Server Issues --> |
<!-- Server Issues --> |
| 326 |
<h1>Server Issues</h1> |
<h1>Server Issues</h1> |
| 327 |
<ol> |
<ol> |
| 328 |
<li><b><a name="server_1">What server versions of CVS are supported |
|
| 329 |
by Eclipse?</a></b> |
<li><b><a name="server_1">What server versions of CVS are supported by Eclipse?</a></b> |
| 330 |
<p> </p> |
|
| 331 |
<p>In 3.0, Eclipse supports CVS version 1.11.1p1 or higher, running |
<p>In 3.0, Eclipse supports CVS version 1.11.1p1 or higher, running |
| 332 |
on a Linux or UNIX server and CVSNT 2.0.58d or later, when properly |
on a Linux or UNIX server and CVSNT 2.0.58d or later, when properly |
| 333 |
<a href="../html-cvs/cvs-compatibility.html">configured</a>. Eclipse 2.1.2 and before does not work with |
<a href="../html-cvs/cvs-compatibility.html">configured</a>. Eclipse 2.1.2 and before does not work with |
| 334 |
CVS versions greater than 1.11.6 (see <a href="#server_1a">next point</a>). |
CVS versions greater than 1.11.6 (see <a href="#server_1a">next point</a>). |
| 335 |
CVSNT versions prior to 2.0.58d are not supported but some versions have been reported to |
CVSNT versions prior to 2.0.58d are not supported but some versions have been reported to |
| 336 |
work with few problems. |
work with few problems. There have also been some problems reported with HPUX and Solaris version |
| 337 |
There have also been some |
(see <a href="#browsing_3">above</a>).</p> |
|
problems reported with HPUX and Solaris version (see <a |
|
|
href="#browsing_3">above</a>). </p> |
|
| 338 |
<p>There are also cases where newer server versions are required for some |
<p>There are also cases where newer server versions are required for some |
| 339 |
funtionality. For instance, incoming change sets in the synchronize view |
functionality. For instance, incoming change sets in the synchronize view |
| 340 |
require CVS version 1.11.5 or beyond to work properly (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=81960">https://bugs.eclipse.org/bugs/show_bug.cgi?id=81960</a>)</p> |
require CVS version 1.11.5 or beyond to work properly |
| 341 |
|
(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=81960">81960</a>)</p> |
| 342 |
</li> |
</li> |
| 343 |
<li><b><a name="server_1a">Why doesn't Eclipse 2.1.x work with CVS |
|
| 344 |
server versions 1.11.7 and beyond?</a></b> |
<li><b><a name="server_1a">Why doesn't Eclipse 2.1.x work with CVS server versions 1.11.7 and beyond?</a></b> |
|
<p> </p> |
|
| 345 |
<p>Most of the interesting Eclipse CVS functionality relies on the |
<p>Most of the interesting Eclipse CVS functionality relies on the |
| 346 |
format of the messages and the change in format made in 1.11.7 breaks |
format of the messages and the change in format made in 1.11.7 breaks |
| 347 |
the parsing in Eclipse versions proir to 2.1.3. Most of the |
the parsing in Eclipse versions prior to 2.1.3. Most of the |
| 348 |
incompatibilities for 1.11.x were adressed in 2.1.3. See bugs <a |
incompatibilities for 1.11.x were addressed in 2.1.3. See bugs |
| 349 |
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=46655">46655</a> |
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=46655">46655</a> |
| 350 |
and <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=49056">49056</a> |
and <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=49056">49056</a> |
| 351 |
for patches and workarounds for previous versions of Eclipse or |
for patches and workarounds for previous versions of Eclipse or |
| 352 |
remaining incompatibilities. As for 1.12.x releases of CVS, Eclipse |
remaining incompatibilities. As for 1.12.x releases of CVS, Eclipse |
| 356 |
still work but the more advanced workflows (e.g. synchronizing) may not |
still work but the more advanced workflows (e.g. synchronizing) may not |
| 357 |
be reliable.</p> |
be reliable.</p> |
| 358 |
</li> |
</li> |
| 359 |
|
|
| 360 |
<li><b><a name="server_cvsnt">Why aren't older (pre 2.0.58d) CVSNT versions supported?</a></b> |
<li><b><a name="server_cvsnt">Why aren't older (pre 2.0.58d) CVSNT versions supported?</a></b> |
| 361 |
<p>The reason older CVSNT versions aren't supported is because traditionally its |
<p>The reason older CVSNT versions aren't supported is because traditionally its |
| 362 |
development effort had been smaller and has lagged behind that of CVS |
development effort had been smaller and has lagged behind that of CVS |
| 364 |
which is now supported (when properly |
which is now supported (when properly |
| 365 |
<a href="../html-cvs/cvs-compatibility.html">configured</a>) on Eclipse 3.0 and beyond.</p> |
<a href="../html-cvs/cvs-compatibility.html">configured</a>) on Eclipse 3.0 and beyond.</p> |
| 366 |
</li> |
</li> |
| 367 |
|
|
| 368 |
<li><b><a name="server_2">Where can I get CVS for UNIX or Windows?</a></b> |
<li><b><a name="server_2">Where can I get CVS for UNIX or Windows?</a></b> |
| 369 |
<p> </p> |
<p>CVS for UNIX can be downloaded by going to |
| 370 |
<p>CVS for UNIX can be downloaded from <a |
<a href="http://www.cvshome.org">http://www.cvshome.org</a>. CVSNT can be |
| 371 |
href="http://www.cvshome.org">http://www.cvshome.org</a>. CVSNT can be |
downloaded by going to <a href="http://www.cvsnt.org">http://www.cvsnt.org</a>.</p> |
|
downloaded from <a href="http://www.cvsnt.org">http://www.cvsnt.org</a>.</p> |
|
| 372 |
</li> |
</li> |
| 373 |
<p> </p> |
|
| 374 |
<li><b><a name="server_3">Where can I find documentation on CVS?</a></b> |
<li><b><a name="server_3">Where can I find documentation on CVS?</a></b> |
| 375 |
<p> </p> |
<p>The CVS manual can be found by going to <a href="http://www.cvshome.org">http://www.cvshome.org</a>.</p> |
|
<p>The CVS manual can be browsed online at <a |
|
|
href="http://www.cvshome.org/docs/manual/">http://www.cvshome.org/docs/manual/</a>. |
|
|
The CVS FAQ-O-Matic can be found at <a |
|
|
href="http://ccvs.cvshome.org/fom/fom.cgi">http://ccvs.cvshome.org/fom/fom.cgi</a>.</p> |
|
|
</li> |
|
|
<p> </p> |
|
|
<li><b><a name="server_4">I'm having problems running CVSNT 1.11.1.1 |
|
|
on Windows 2000, what's wrong?</a></b> |
|
|
<p> </p> |
|
|
<p>We have reports that CVSNT 1.11.1.1 (and perhaps later versions) |
|
|
will not run on Windows 2000 unless Service Pack 2 or later is |
|
|
installed.</p> |
|
|
</li> |
|
|
<p> </p> |
|
|
<li><b><a name="server_5">I use logical repository mapping under |
|
|
CVSNT 1.11.1.3, but Eclipse complains. What's wrong?</a></b> |
|
|
<p> </p> |
|
|
<p>You have set up relative mapping (repository prefix) under |
|
|
CVSNT, so that, for example, "D:\cvs\repo" maps to "/REPO". That means |
|
|
you should be able to use ":pserver:user@host:/REPO". However, CVSNT |
|
|
does not always communicate these paths to the client properly; in |
|
|
particular, Eclipse needs information for synchronization which is not |
|
|
included in this mode of operation. The solution is to change your |
|
|
CVSNT server settings to disable the use of a repository prefix, and |
|
|
use the full path of the repository, thus: |
|
|
":pserver:user@host:D:\cvs\repo".</p> |
|
| 376 |
</li> |
</li> |
| 377 |
<p> </p> |
|
| 378 |
<li><b><a name="server_6">When I perform a Replace With or Update |
<li><b><a name="server_6">When I perform a Replace With or Update |
| 379 |
operation, Eclipse tells me that option -C is not supported. What's |
operation, Eclipse tells me that option -C is not supported. What's |
| 380 |
wrong?</a></b> |
wrong?</a></b> |
|
<p> </p> |
|
| 381 |
<p>This error indicates that your server version is CVS 1.10 or |
<p>This error indicates that your server version is CVS 1.10 or |
| 382 |
before. The -C option was introduced in version 1.11. See <a |
before. The -C option was introduced in version 1.11. See <a |
| 383 |
href="#server_1">above</a> for supported CVS versions.</p> |
href="#server_1">above</a> for supported CVS versions.</p> |
| 384 |
</li> |
</li> |
| 385 |
<p> </p> |
|
| 386 |
<li><b><a name="server_7">I performed a Replace With or Override and |
<li><b><a name="server_7">I performed a Replace With or Override and |
| 387 |
Update and one of the files involved ended up with strange characters |
Update and one of the files involved ended up with strange characters |
| 388 |
in it. Why?</a></b> |
in it. Why?</a></b> |
|
<p> </p> |
|
| 389 |
<p>This error indicates that your server version is CVS 1.11 which |
<p>This error indicates that your server version is CVS 1.11 which |
| 390 |
has a bug when replacing a locally dirty file. See <a href="#server_1">above</a> |
has a bug when replacing a locally dirty file. See <a href="#server_1">above</a> |
| 391 |
for supported CVS versions.</p> |
for supported CVS versions.</p> |
| 392 |
</li> |
</li> |
| 393 |
<p> </p> |
|
| 394 |
<li><b><a name="server_8">I got a "received broken pipe signal" |
<li><b><a name="server_8">I got a "received broken pipe signal" |
| 395 |
error. What does it mean?</a></b> |
error. What does it mean?</a></b> |
|
<p> </p> |
|
| 396 |
<p>Eclipse sometime performs multiple commands within a single |
<p>Eclipse sometime performs multiple commands within a single |
| 397 |
connection to the server. This may cause problems with CVS server that |
connection to the server. This may cause problems with CVS server that |
| 398 |
are running server scripts in reponse to certain commands.</p> |
are running server scripts in reponse to certain commands.</p> |
| 399 |
</li> |
</li> |
| 400 |
<p> </p> |
|
| 401 |
<li><b><a name="server_9">How do I use a local connection with |
<li><b><a name="server_9">How do I use a local connection with |
| 402 |
Eclipse?</a></b> |
Eclipse?</a></b> |
|
<p> </p> |
|
| 403 |
<p>Eclipse does not support the use of the local connection method |
<p>Eclipse does not support the use of the local connection method |
| 404 |
as this requires a CVS client that also includes the CVS server code in |
as this requires a CVS client that also includes the CVS server code in |
| 405 |
it. Command line cvs uses the same executable for the client and the |
it. Command line cvs uses the same executable for the client and the |
| 406 |
server whereas Eclipse is a client only. Since the repository is on the |
server whereas Eclipse is a client only. Since the repository is on the |
| 407 |
same machine as the client, you should be able to use pserver.</p> |
same machine as the client, you should be able to use pserver.</p> |
| 408 |
</li> |
</li> |
| 409 |
<p> </p> |
|
|
<li><b><a name="server_10">When using CVSNT, why do I get the error |
|
|
"Error fetching file revisions" when synchronizing?</a></b> |
|
|
<p> </p> |
|
|
<p>This error, or an error stating that "An error has occurred |
|
|
processing file <repo file> <revision>", occur when the |
|
|
CVSNT server has been configured to use a repository prefix (also |
|
|
referred to as a repository alias). CVSNT provides this mechanism to |
|
|
allow compatibility with the Unix/Linux based command line tools. |
|
|
However, the CVSNT server does not properly map the repository paths |
|
|
that are communicated in text messages. The Eclipse CVS client relies |
|
|
on these text messages to provide advanced features such as |
|
|
synchronization and compare. In order for these features to work |
|
|
properly, the CVSNT server must not be configured to use a repository |
|
|
prefix. Instead, the full path name (i.e. D:\cvs\root) must be used |
|
|
(see related question <a href="#server_5">above</a>). </p> |
|
|
</li> |
|
|
<p> </p> |
|
| 410 |
<li><b><a name="server_11">Why can't I get Eclipse to work with CVSNT |
<li><b><a name="server_11">Why can't I get Eclipse to work with CVSNT |
| 411 |
and mapped network drives?</a></b> |
and mapped network drives?</a></b> |
|
<p> </p> |
|
| 412 |
<p>The problem is that CVSNT (as of 1.11.1.3) only supports using |
<p>The problem is that CVSNT (as of 1.11.1.3) only supports using |
| 413 |
the local connection method with network drives and Eclipse does not |
the local connection method with network drives and Eclipse does not |
| 414 |
support this connection method (see <a href="#server_9">above</a>). </p> |
support this connection method (see <a href="#server_9">above</a>). </p> |
| 415 |
</li> |
</li> |
| 416 |
<p> </p> |
|
| 417 |
<li><b><a name="server_12">Using CVSNT, Why do I get the error "cvs |
<li><b><a name="server_12">Using CVSNT, Why do I get the error "cvs |
| 418 |
[server aborted]: cannot find .: No such file or directory"?</a></b> |
[server aborted]: cannot find .: No such file or directory"?</a></b> |
|
<p> </p> |
|
| 419 |
<p>I think the problem is that of user rights on the machine CVSNT |
<p>I think the problem is that of user rights on the machine CVSNT |
| 420 |
is running on. You might try one or more of the following options: </p> |
is running on. You might try one or more of the following options: </p> |
| 421 |
<ul> |
<ul> |
| 423 |
repository directory structure plus the temp folder CVSNT is using. |
repository directory structure plus the temp folder CVSNT is using. |
| 424 |
This is easiest if you specify a separate CVSNT temp directory such as |
This is easiest if you specify a separate CVSNT temp directory such as |
| 425 |
"c:\cvstemp" using the Advanced tab in the<br /> |
"c:\cvstemp" using the Advanced tab in the<br /> |
| 426 |
CVSNT control panel. (The default temporary directories in |
CVSNT control panel. (The default temporary directories in |
| 427 |
"C:\WINNT\TEMP" and "C:\Documents and Settings" have access |
"C:\WINNT\TEMP" and "C:\Documents and Settings" have access |
| 428 |
restrictions under Win2000 and WinXP).</li> |
restrictions under Win2000 and WinXP).</li> |
| 429 |
<li>turn off impersonation in CVSNT</li> |
<li>turn off impersonation in CVSNT</li> |
| 430 |
<li>add all CVS users to PowerUsers on the machine CVSNT is |
<li>add all CVS users to PowerUsers on the machine CVSNT is |
| 431 |
running on</li> |
running on</li> |
| 432 |
</ul> |
</ul> |
|
<p></p> |
|
|
<p></p> |
|
| 433 |
</li> |
</li> |
| 434 |
<li><b><a name="server_13">My server has been configured to use an |
|
|
alternate server name. What do I need to do?</a></b> |
|
|
<p> </p> |
|
|
<p>Custom server names cause problems for Eclipse CVS because the |
|
|
client makes use of the text messages sent from the server. The symptom |
|
|
you will see is that expanding HEAD will not show any of the folders in |
|
|
the repository. To correct the problem: </p> |
|
|
<ol> |
|
|
<li>Open the CVS Repositories View. </li> |
|
|
<li>From the context menu of the repository location, open the |
|
|
Properties page. </li> |
|
|
<li>On the CVS properties page (the only one present), select |
|
|
"Expect a custom program name" (at the bottom) and enter "cvspserver". </li> |
|
|
</ol> |
|
|
This should fix the problem. </li> |
|
|
<p> </p> |
|
| 435 |
</ol> |
</ol> |
| 436 |
<br /> |
<br /> |
| 437 |
<!-- SSH --> |
<!-- SSH --> |