diff options
author | Christian Walther | 2018-12-11 15:25:54 +0000 |
---|---|---|
committer | Christian Walther | 2018-12-11 16:24:32 +0000 |
commit | 0f75bfc383fd426376422ff13ecfe1fb5ee13cd9 (patch) | |
tree | 4ff1c342905eabffa0731bde395639fcd801d58f | |
parent | c3d7ca185414e21bee94cae816445bbfc74c2744 (diff) | |
download | org.eclipse.cdt-0f75bfc383fd426376422ff13ecfe1fb5ee13cd9.tar.gz org.eclipse.cdt-0f75bfc383fd426376422ff13ecfe1fb5ee13cd9.tar.xz org.eclipse.cdt-0f75bfc383fd426376422ff13ecfe1fb5ee13cd9.zip |
Bug 542676 - Headless build missing some console output
The ConsoleOutputStream method added in 6e1b9b4 must be overridden here,
otherwise text sent to it does not appear along with the other console
output.
Change-Id: I1a3803ffb8962140537b877f0df328a4037b4dfb
Signed-off-by: Christian Walther <walther@indel.ch>
-rw-r--r-- | core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/SystemBuildConsole.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/SystemBuildConsole.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/SystemBuildConsole.java index 9621d580ddc..9be481b2a29 100644 --- a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/SystemBuildConsole.java +++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/SystemBuildConsole.java @@ -38,6 +38,11 @@ public class SystemBuildConsole implements IConsole { public synchronized void write(int c) throws java.io.IOException { System.out.write(c); } + + @Override + public synchronized void write(String msg) throws java.io.IOException { + System.out.print(msg); + } }; err = new ConsoleOutputStream() { @Override @@ -49,6 +54,11 @@ public class SystemBuildConsole implements IConsole { public synchronized void write(int c) throws java.io.IOException { System.err.write(c); } + + @Override + public synchronized void write(String msg) throws java.io.IOException { + System.err.print(msg); + } }; } |