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.
On Windows the IDE CVS seems to get confused and regularly ends up in a state where all cvs commands produce the following error '"cvs"' is not recognized as an internal or external command, operable program or batch file. The only way I have found to recover from this is to blow aways the repository and checkout the files again. When it will work for a while before getting back into the broken state. I've observed this with rc1 and rc2. I originally assumed the bug was caused by my use of cygwin (where I used to do some cvs commands) but recently I stopped using cvs from cygwin and I still see the problem.
I can reproduce this error if I setup some invalid value to "CVS executable" field. Please can you verify whether your "CVS executable" didn't change in Customizer of registered versioned directory?
Paul, you apparenty do not have the cvs.exe in PATH. Therefore you need to specify the full path to cvs.exe in the Customizer. Please provide how do you have the versioned directory customized. Also did you do an import from 4.0beta2? If yes, this can be a duplicate of issue #52026.
OK I see the problem, the cvs client was set to command-line rather than built-in. But I swear I never changed this. Some of these projects were created in older version of NB, some are newly created, with some I did CVS co in cygwin. I've just spotted the main problem, when you use the VCS Manager to add another version control directory to the system it defaults to Use command-line. At the very least we should have the IDE check that it can find cvs in the command line before selecting this as the default. Just to confuse the user when they perform a Global CVS Checkout from the versioning menu this defaults to using the built in cvs command. Perhaps we can add the check in 4.1 so that the default selection
> VCS Manager defaults to use command-line This should have been already fixed, but unfortunately the fix was not sufficient - see issue #43939. > Perhaps we can add the check in 4.1 so that the default selection Yes, that's a good idea. But that's not P1 defect. Changing to P3.
cmd %pointed_path -version putput will be tested on: // cvshome.org client if (line.indexOf("CVS") != -1) foundCVS = true; if (line.indexOf("1.11") != -1) foundVersion = true; if (line.indexOf("1.12") != -1) foundVersion = true;
FIXED in Checking in vcscore/src/org/netbeans/modules/vcscore/util/VariableInputDescriptor.java; /cvs/vcscore/src/org/netbeans/modules/vcscore/util/VariableInputDescriptor.java,v <-- VariableInputDescriptor.java new revision: 1.35; previous revision: 1.34 done Checking in vcscore/src/org/netbeans/modules/vcscore/util/VariableInputValidator.java; /cvs/vcscore/src/org/netbeans/modules/vcscore/util/VariableInputValidator.java,v <-- VariableInputValidator.java new revision: 1.7; previous revision: 1.6 done Processing log script arguments... More commits to come... Checking in vcscore/www/doc/VCSUtilities.html; /cvs/vcscore/www/doc/VCSUtilities.html,v <-- VCSUtilities.html new revision: 1.16; previous revision: 1.15 done Processing log script arguments... More commits to come... Checking in vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands/Bundle.properties; /cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands/Bundle.properties,v <-- Bundle.properties new revision: 1.12; previous revision: 1.11 done RCS file: /cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands/Validators.java,v done Checking in vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands/Validators.java; /cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands/Validators.java,v <-- Validators.java initial revision: 1.1 done Processing log script arguments... More commits to come... Checking in vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/config/cvs.xml; /cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/config/cvs.xml,v <-- cvs.xml new revision: 1.125; previous revision: 1.124 done