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.
I am using Netbeans build 50 on WinNT with jdk1.3. I have CVS on a pserver called cvs. The mounted directory is d:/spf/java. I get an error when I do a CVS Refresh from the Project panel (not from the Filesystems panel) on any file that is at least 1 directory below the mounted directory (for example, I do not get an error on d:/spf/java/foo.java but I do get one on d:/spf/java/bar/foo.java). Here is the error: LIST: LIST: org.netbeans.modules.vcs.cmdline.list.CvsListCommand.class cmd /X /C "set CVSROOT=:pserver:spf@cvs:/cvs&& cd /D d:\spf\java\\filters\.&& \"cvs\" status -l" LIST: cmd /X /C "set CVSROOT=:pserver:spf@cvs:/cvs&& cd /D d:\spf\java\\filters\.&& \"cvs\" status -l" The system cannot find the path specified. LIST: Command failed. =========================================================== I suspect the error is in cd /D d:\spf\java\\filters\. the \\ being the error.
I'm sorry, but I was not able to reproduce it. Can you try to do the same from the Filesystem panel and compare the execution command ? It seems to me that the problem is in construction of the path in Project panel, where it can be problematic to find the real path. Does you folder "d:\spf\java\filters" really exist ? The \\ does not cause the error (at least on my Win NT I can write "cd org\\\\\\netbeans" and it goes to org\netbeans successfully).
You're right, d:\spf\java\filters does not exist. It seems that when refresh is executed from the project panel, it is eating part of the path. The correct path is d:\spf\java\fileformat\filters. Here is the command as executed from the filesystems panel: LIST: org.netbeans.modules.vcs.cmdline.list.CvsListCommand.class cmd /X /C "set CVSROOT=:pserver:spf@cvs:/cvs&& cd /D d:\spf\java\\fileformat\filters\.&& \"cvs\" status -l" stderr: [LIST: cmd /X /C "set CVSROOT=:pserver:spf@cvs:/cvs&& cd /D d:\spf\java\\fileformat\filters\.&& \"cvs\" status -l" ] LIST: Command succeeded. And here is the command executed on the same file from the project panel: LIST: org.netbeans.modules.vcs.cmdline.list.CvsListCommand.class cmd /X /C "set CVSROOT=:pserver:spf@cvs:/cvs&& cd /D d:\spf\java\\filters\.&& \"cvs\" status -l" stderr: [LIST: cmd /X /C "set CVSROOT=:pserver:spf@cvs:/cvs&& cd /D d:\spf\java\\filters\.&& \"cvs\" status -l" ] LIST: Command failed. LIST command failed.
Thank you for the description. Now I'm able to reproduce it. When I add to Project a subdirectory, it skips the part from the root to that subdirectory. I'll try to do a fix...
Fixed in main trunk in build #54 and in boston branch in build #1129.
Automaticaly changed Version from "Other" to "Dev" Version "Other" is nonsence
Resolved for 3.4.x or earlier, no new info since then -> closing.