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 35999

Summary: Take the advantage of combined stderr/stdout streams
Product: obsolete Reporter: Martin Entlicher <mentlicher>
Component: vcscoreAssignee: Martin Entlicher <mentlicher>
Status: REOPENED ---    
Severity: blocker    
Priority: P2    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 32560, 52145, 53576    

Description Martin Entlicher 2003-09-10 12:15:09 UTC
In Java 1.5 there will be bug #4480528 fixed
(http://developer.java.sun.com/developer/bugParade/bugs/4480528.html).
The parsing algorithms can take advantage of
combined streams of the executed commands.
Comment 1 Martin Entlicher 2005-02-08 14:30:25 UTC
The mergeOutputStreams property added to VcsCommand. When running on
JDK 1.5 and newer, ProcessBuilder is used, which can merge the error
stream into the standard output stream. When running on JDK 1.4 this
property has no effect.

/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/commands/CommandNode.java,v
 <--  CommandNode.java
new revision: 1.58; previous revision: 1.57

/cvs/vcscore/build.xml,v  <--  build.xml
new revision: 1.50; previous revision: 1.49

/cvs/vcscore/arch/arch-vcscore.xml,v  <--  arch-vcscore.xml
new revision: 1.10; previous revision: 1.9

RCS file:
/cvs/vcscore/classes_1_5/org/netbeans/modules/vcscore/cmdline/exec/CommandExecutor1_5.class,v

/cvs/vcscore/classes_1_5/org/netbeans/modules/vcscore/cmdline/exec/CommandExecutor1_5.class,v
 <--  CommandExecutor1_5.class
initial revision: 1.1

/cvs/vcscore/src/org/netbeans/modules/vcscore/cmdline/ExecuteCommand.java,v
 <--  ExecuteCommand.java
new revision: 1.86; previous revision: 1.85

RCS file:
/cvs/vcscore/src/org/netbeans/modules/vcscore/cmdline/exec/CommandExecutor.java,v

/cvs/vcscore/src/org/netbeans/modules/vcscore/cmdline/exec/CommandExecutor.java,v
 <--  CommandExecutor.java
initial revision: 1.1

RCS file:
/cvs/vcscore/src/org/netbeans/modules/vcscore/cmdline/exec/CommandExecutor1_5.java,v

/cvs/vcscore/src/org/netbeans/modules/vcscore/cmdline/exec/CommandExecutor1_5.java,v
 <--  CommandExecutor1_5.java
initial revision: 1.1

/cvs/vcscore/src/org/netbeans/modules/vcscore/cmdline/exec/ExternalCommand.java,v
 <--  ExternalCommand.java
new revision: 1.39; previous revision: 1.38

/cvs/vcscore/src/org/netbeans/modules/vcscore/commands/VcsCommand.java,v
 <--  VcsCommand.java
new revision: 1.41; previous revision: 1.40
Comment 2 Martin Entlicher 2005-03-04 19:48:07 UTC
Unfortunately this needs to be rolled back, because the error
redirection was proved not to be reliable.

Unless we find a way how to verify it's functionality and the executor
is fixed in JDK...