1 | void handleFlush(String output) {↵ | | 1 | void handleFlush(String output) {↵
|
2 | if (ant != null) {↵ | | 2 | if (callee != null) {↵
|
3 | ant.handleFlush(output);↵ | | 3 | callee.handleFlush(output);↵
|
4 | } else {↵ | | 4 | } else {↵
|
5 | super.handleFlush(output);↵ | | 5 | super.handleFlush(output);↵
|
6 | }↵ | | 6 | }↵
|
7 | }↵ | | 7 | }↵
|
|
8 | /**↵ | | 8 | /**↵
|
9 | * Pass output sent to System.err to the new project.↵ | | 9 | * ↵
|
10 | *↵ | | 10 | Handle error output.↵
|
| | | 11 | * Send it the the new project if is present, otherwise↵
|
| | | 12 | * call the super class.↵
|
11 | * @param output The error output to log. Should not be <code>null</code>.↵ | | 13 | * @param output The ↵
|
12 | *↵ | | 14 | string to output.↵
|
| | | 15 | *↵
|
| | | 16 | * @see Task#handleErrorOutput(String)↵
|
13 | * @since Ant 1.6.2↵ | | 17 | * @since Ant 1.5↵
|
14 | */↵ | | 18 | */↵
|
15 | public void handleErrorOutput(String output) {↵ | | 19 | public void handleErrorOutput(String output) {↵
|
16 | if (ant != null) {↵ | | 20 | if (callee != null) {↵
|
17 | ant.handleErrorOutput(output);↵ | | 21 | callee.handleErrorOutput(output);↵
|
18 | } else {↵ | | 22 | } else {↵
|
19 | super.handleErrorOutput(output);↵ | | 23 | super.handleErrorOutput(output);↵
|
20 | }↵ | | 24 | }↵
|
21 | }↵ | | 25 | }↵
|
|
22 | /**↵ | | 26 | /**↵
|
23 | * Pass output sent to System.err to the new project.↵ | | 27 | * ↵
|
24 | *↵ | | 28 | Handle error output.↵
|
| | | 29 | * Send it the the new project if is present, otherwise↵
|
| | | 30 | * call the super class.↵
|
25 | * @param output The error output to log. Should not be <code>null</code>.↵ | | 31 | * @param output The ↵
|
26 | *↵ | | 32 | string to output.↵
|
| | | 33 | * @see Task#handleErrorFlush(String)↵
|
27 | * @since Ant 1.6.2↵ | | 34 | * @since Ant 1.5.2↵
|
28 | */↵ | | 35 | */↵
|
29 | public void handleErrorFlush(String output) {↵ | | 36 | public void handleErrorFlush(String output) {↵
|
30 | if (ant != null) {↵ | | 37 | if (callee != null) {↵
|
31 | ant.handleErrorFlush(output);↵ | | 38 | callee.handleErrorFlush(output);↵
|
32 | } else {↵ | | 39 | } else {↵
|
33 | super.handleErrorFlush(output);↵ | | 40 | super.handleErrorFlush(output);↵
|
34 | }↵ | | 41 | }↵
|
35 | } | | 42 | }
|