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:
parent
c3d7ca1854
commit
0f75bfc383
1 changed files with 10 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue