1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-21 21:52:10 +02:00

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>
This commit is contained in:
Christian Walther 2018-12-11 16:25:54 +01:00
parent c3d7ca1854
commit 0f75bfc383

View file

@ -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);
}
};
}