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.

Bug 55594 - CVS - EXT: Recursive Refresh does not work on Windows
Summary: CVS - EXT: Recursive Refresh does not work on Windows
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2005-02-28 10:42 UTC by Peter Pis
Modified: 2006-03-24 12:54 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
output (185 bytes, text/plain)
2005-02-28 10:43 UTC, Peter Pis
Details
output cmd (6.81 KB, text/plain)
2005-02-28 10:44 UTC, Peter Pis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pis 2005-02-28 10:42:59 UTC
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.
Comment 1 Peter Pis 2005-02-28 10:43:25 UTC
Created attachment 20546 [details]
output
Comment 2 Peter Pis 2005-02-28 10:44:50 UTC
Created attachment 20547 [details]
output cmd
Comment 3 Martin Entlicher 2005-02-28 10:52:24 UTC
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.
Comment 4 Peter Pis 2005-02-28 16:34:50 UTC
The problem occurs only for local CVS server type.
Comment 5 Martin Entlicher 2005-02-28 16:39:54 UTC
Yes, that's true. I have no idea what's going on, why the streams were
separated.
Comment 6 Martin Entlicher 2005-03-02 20:04:55 UTC
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....
Comment 7 Martin Entlicher 2005-03-04 19:43:50 UTC
ProcessBuilder will be removed, as it's error redirection is not
reliable (see #55958).
Comment 8 Martin Entlicher 2005-03-10 15:09:22 UTC
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. :-))
Comment 9 Martin Entlicher 2005-03-11 12:18:24 UTC
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
Comment 10 Peter Pis 2005-03-11 12:26:19 UTC
This is a q-build stopper. There's Q-Build emergency branch "QBE200503101100". 
Comment 11 Martin Entlicher 2005-03-14 13:41:31 UTC
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
Comment 12 Peter Pis 2005-03-15 09:20:10 UTC
Verified, for cvs1-11-17 it doesn't work, but in case cvs1-11-19 it works fine.