This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Previously running 4.1, just installed 5.0 RC2. Running CVSNT with a local repository. On opening project, modified files are correctly shown in blue etc, but trying to run any CVS command (show changes, diff etc) brings up a "Command failed" window saying "The pipe is being closed". Log file has IOExceptions for each attempt to run a command: java.io.IOException: The pipe is being closed at java.io.FileOutputStream.writeBytes(Native Method) at java.io.FileOutputStream.write(FileOutputStream.java:260) at java.io.BufferedOutputStream.flushBuffer (BufferedOutputStream.java:65) [catch] at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) at java.io.FilterOutputStream.flush(FilterOutputStream.java:123) at org.netbeans.lib.cvsclient.Client.processRequests(Client.java:507) at org.netbeans.lib.cvsclient.command.log.LogCommand.execute (LogCommand.java:132) at org.netbeans.lib.cvsclient.Client.executeCommand(Client.java:629) at org.netbeans.modules.versioning.system.cvss.CommandRunnable$1.run (CommandRunnable.java:71) at java.lang.Thread.run(Thread.java:595)
It works fine for me. What kind of CVSNT server do you use? Can you perform checkout from your cvsnt server without any problems?
I'm using the free CVS NT server and client code downloaded from march- hare.com, version 2.5.03.2151. Everything works OK in NB 4.1. In NB 5.0RC2 initially checkout wouldn't work (came up with invalid server response) but after updating to the latest CVS NT (as above) checkout started behaving, but I still get the "pipe is being closed" message when I try anything else. Must be accessing the repository OK or it wouldn't be able to show the modified statuses, right?
Is there windows path used in "Root" file from "CVS" folders? (for example "D:\...") Unfortunately, javacvs built-in can't handle windows paths. The same behaviour is for 4.1. (in case of :local: access method, command line cvs should have been used.) Latest versions of CVSNT server use unix paths, so javacvs client can work with it as well. http://www.netbeans.org/kb/faqs/version-control-system.html#FaqHowToAccessLocalCVS
Contents of ROOT files is :local:D:\cvsrepo The CVS_EXE environment variable is already set up to point to cvs.exe and the repository path in the Checkout... dialog is set to :local:/cvsrepo. The CVS NT locking service is running. I can start from scratch and make a new repository etc tonight if that helps, with access via sspi or pserver or whatever, but everything is OK under 4.1, so I'm still not clear on why it doesn't work under 5.0RC2?
It doesn't work cos of "Contents of ROOT files is :local:D:\cvsrepo" -> windows path, javacvs built-in client can't handle it. In "Control Panel -> CVSNT" tool there is "Repository" tab. Use the path from "Name" column.
See issue #65366. This switcher can help you to change cvsroot in your case of already checked out project. If you want to use it currently, you have to build it on your own. (you have to have nb sources checked out - it's located in "javacvs/util_switcher" - in console type "ant nbm")
I started fresh with the 5.0 release version, removed the old working directory and did a fresh checkout using V5.0. The ROOT files now contain the repository name rather than the path and all is working OK, thanks.
Wontfix.