On my Vista computer, I have a local CVS repository for version control in this folder: C:\Users\<user>\Documents\Repository
. I checked out a module using WinCVS 2.0.2.4 Build 4, so the module's CVSROOT is C:\Users\<user>\Documents\Repository
. When I start any CVS operation in NetBeans 6.1, the operation is queued and hangs, or NetBeans reports this error: The pipe has been ended
.
If you look into the NetBeans log file, C:\Users\<user>\AppData\Local\Temp\outputN (where N
is a number), you can find the following entry: cvs [server aborted]: C:\Users\<user>\Documents\Repository: no such repository
.
Here's a workaround using CVSNT 2.0.51d.
First, add a repository name in the CVSNT Service. For me, I use Repository:
- Open Windows' Control Panel.
- Select the CVS for NT icon. Windows should open the CVSNT applet (in Vista, you have to confirm that you allow this legacy CPL applet to run).
- In the Status Service tab, stop
CVS Service
andCVS Lock Service
. - Select the Repositories tab.
- Press the Add button to create a new repository name. The Edit Repository dialog should appear.
- Set Location: =
C:\Users\<user>\Documents\Repository
. - Set Name: =
/Repository
. - Press the OK button save your repository name and close the Edit Repository dialog.
- Select the Service Status tab and start the CVS service.
- In the Status Service tab, start
CVS Service
andCVS Lock Service
. - Press the OK button to save your settings and close the CVSNT applet.
Second, edit all CVS/ROOT
files in your project and replace the folder path with: :local:/Repository
.
This entry tells NetBeans to use the :local:
protocol to find Repository
. However, WinCVS does not understand the :local:
protocol, so you can't use WinCVS to maintain your project any more.
No comments:
Post a Comment