1 | void handleErrorOutput(String errorOutputToHandle) {↵ | | 1 | void handleFlush(String toFlush) {↵
|
2 | if (newProject != null) {↵ | | 2 | if (newProject != null) {↵
|
3 | newProject.demuxOutput(errorOutputToHandle, true);↵ | | 3 | newProject.demuxFlush(toFlush, false);↵
|
4 | } else {↵ | | 4 | } else {↵
|
5 | super.handleErrorOutput(errorOutputToHandle);↵ | | 5 | super.handleFlush(toFlush);↵
|
6 | }↵ | | 6 | }↵
|
7 | }↵ | | 7 | }↵
|
|
8 | /**↵ | | 8 | /**↵
|
9 | * Handle error output.↵ | | 9 | * Handle error output.↵
|
10 | * Send it the the new project if is present, otherwise↵ | | 10 | * Send it the the new project if is present, otherwise↵
|
11 | * call the super class.↵ | | 11 | * call the super class.↵
|
12 | * @param errorOutputToFlush The string to output.↵ | | 12 | * @param errorOutputToHandle The string to output.↵
|
| | | 13 | *↵
|
13 | * @see Task#handleErrorFlush(String)↵ | | 14 | * @see Task#handleErrorOutput(String)↵
|
14 | * @since Ant 1.5.2↵ | | 15 | * @since Ant 1.5↵
|
15 | */↵ | | 16 | */↵
|
16 | public void handleErrorFlush(String errorOutputToFlush) {↵ | | 17 | public void handleErrorOutput(String errorOutputToHandle) {↵
|
17 | if (newProject != null) {↵ | | 18 | if (newProject != null) {↵
|
18 | newProject.demuxFlush(errorOutputToFlush, true);↵ | | 19 | newProject.demuxOutput(errorOutputToHandle, true);↵
|
19 | } else {↵ | | 20 | } else {↵
|
20 | super.handleErrorFlush(errorOutputToFlush);↵ | | 21 | super.handleErrorOutput(errorOutputToHandle);↵
|
21 | }↵ | | 22 | }↵
|
22 | | | 23 |
|