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.
Summary: | java.io.IOException: Cannot run program "cvs" (in directory "c:\home\ant_hill"): CreateProcess error=2 | ||
---|---|---|---|
Product: | projects | Reporter: | ncrowdy <ncrowdy> |
Component: | Ant | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED INVALID | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | stacktrace |
Description
ncrowdy
2009-02-20 17:09:43 UTC
Created attachment 77206 [details]
stacktrace
I have a copy of Netbeans 6.5 installed in Ubuntu 8.10 running as a guest in VirtualBox on the same PC from which the original bug report originated. The same build script within the same NB project, and in particular, the cvs task work fine in this environment. So this would appear to be a XP specific bug. I apologise if I've not attributes this problem to the correct team; it seemed a close call between ant and cvs. Generally, I've had no problems with the default cvs client included with NB on either XP or Linux. Can you run the same script from the command line? Is cvs.exe in fact in your path? Did you specify an executable of "cvs" as opposed to "cvs.exe"? There are a lot of possible explanations, but I think it is unlikely that NetBeans (as opposed to Ant) code is responsible for the problem. You're absolutely correct and please accept my apologies for wasting your time. The PATH didn't include the CVS installation folder for some reason and I jumped to the wrong conclusion too quickly. |