1 | void handleErrorOutput(String output) {↵ | | 1 | void handleErrorOutput(String output) {↵
|
2 | if (callee != null) {↵ | | 2 | if (ant != null) {↵
|
3 | callee.handleErrorOutput(output);↵ | | 3 | ant.handleErrorOutput(output);↵
|
4 | } else {↵ | | 4 | } else {↵
|
5 | super.handleErrorOutput(output);↵ | | 5 | super.handleErrorOutput(output);↵
|
6 | }↵ | | 6 | }↵
|
7 | }↵ | | 7 | }↵
|
|
8 | /**↵ | | 8 | /**↵
|
9 | * Handle error output.↵ | | 9 | * ↵
|
10 | * Send it the the new project if is present, otherwise↵ | | |
|
11 | * call the super class.↵ | | 10 | Pass output sent to System.err to the new project.↵
|
| | | 11 | *↵
|
12 | * @param output The string to output.↵ | | 12 | * @param output The ↵
|
13 | * @see Task#handleErrorFlush(String)↵ | | 13 | error output to log. Should not be <code>null</code>.↵
|
| | | 14 | *↵
|
14 | * @since Ant 1.5.2↵ | | 15 | * @since Ant 1.6.2↵
|
15 | */↵ | | 16 | */↵
|
16 | public void handleErrorFlush(String output) {↵ | | 17 | public void handleErrorFlush(String output) {↵
|
17 | if (callee != null) {↵ | | 18 | if (ant != null) {↵
|
18 | callee.handleErrorFlush(output);↵ | | 19 | ant.handleErrorFlush(output);↵
|
19 | } else {↵ | | 20 | } else {↵
|
20 | super.handleErrorFlush(output);↵ | | 21 | super.handleErrorFlush(output);↵
|
21 | }↵ | | 22 | }↵
|
22 | | | 23 |
|