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.
Product Version = NetBeans IDE Dev (Build 200502271900) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.5.0_03-ea; Java HotSpot(TM) Client VM 1.5.0_03-ea-b04; Sun Microsystems Inc. Java Home = C:\Program Files\Java\jdk1.5.0_03\jre Steps: 1. Register new CVS versioned directory (CVS server, local). 2. Create in it project (e.g.Web project). 3. Invoke "CVS | Add" in Files view (with commit, and all folder contents). Push "OK" button. Command finishes successfully, but statuses are local for all files.
Created attachment 20546 [details] output
Created attachment 20547 [details] output cmd
This is in fact a problem of recursive refresh. There is a problem, that the standard and error output are not in the correct order.
The problem occurs only for local CVS server type.
Yes, that's true. I have no idea what's going on, why the streams were separated.
I have a suspicion that it's a bug of Window's JDK (on Linux it works O.K.), but I do not know how to prove it reliably. Also it's a mystery to me what is the difference in the output between pserver and local connection. There should be no difference!?! Looks like I simply take it as given, that it does not work and prepare a workaround....
ProcessBuilder will be removed, as it's error redirection is not reliable (see #55958).
Well, I'm still more and more confused and surprised. Things are changing every moment... :-))))))))))))) Recursive refresh with cvs-1-11-19 works fine, but with cvs-1-11-17 it does not. Do not know whether there is a bug in ProcessBuilder or cvs, but this is how it works. It seems that in cvs.exe there was a change, that caused issue #56085, but fixed this one. :-))
Should be fixed now in trunk: /cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands/Validators.java,v <-- Validators.java new revision: 1.8; previous revision: 1.7 /cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/list/CvsListRecursiveCommand.java,v <-- CvsListRecursiveCommand.java new revision: 1.18; previous revision: 1.17 /cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/visualizers/status/CvsStatusVisualizer.java,v <-- CvsStatusVisualizer.java new revision: 1.18; previous revision: 1.17
This is a q-build stopper. There's Q-Build emergency branch "QBE200503101100".
The fix is merged into QBE200503101100 branch: /cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/list/CvsListRecursiveCommand.java,v <-- CvsListRecursiveCommand.java new revision: 1.17.2.1; previous revision: 1.17 done Checking in visualizers/status/CvsStatusVisualizer.java; /cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/visualizers/status/CvsStatusVisualizer.java,v <-- CvsStatusVisualizer.java new revision: 1.17.6.1; previous revision: 1.17 done Checking in commands/Validators.java; /cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands/Validators.java,v <-- Validators.java new revision: 1.6.2.2; previous revision: 1.6.2.1
Verified, for cvs1-11-17 it doesn't work, but in case cvs1-11-19 it works fine.