1 | void setOutputProperty(String outputProperty) {↵ | | 1 | void setInputEncoding(String inputEncoding) {↵
|
2 | if (isReference()) {↵ | | 2 | if (isReference()) {↵
|
3 | throw tooManyAttributes();↵ | | 3 | throw tooManyAttributes();↵
|
4 | }↵ | | 4 | }↵
|
5 | this.outputProperty = outputProperty;↵ | | 5 | this.inputEncoding = inputEncoding;↵
|
6 | }↵ | | 6 | }↵
|
|
7 | /**↵ | | 7 | /**↵
|
8 | * Whether output should be appended to or overwrite an existing file.↵ | | 8 | * Controls whether error output ↵
|
9 | * Defaults to false↵ | | 9 | of exec is logged. This is only useful↵
|
| | | 10 | * when output is being redirected and error output is desired in the↵
|
10 | .↵ | | 11 | * Ant log.↵
|
11 | * @param append if true output and error streams are appended to their↵ | | 12 | * @param logError if true ↵
|
12 | * respective files, if specified↵ | | 13 | the standard error is sent to the Ant log system↵
|
13 | .↵ | | 14 | * and not sent to output.↵
|
14 | */↵ | | 15 | */↵
|
15 | public void setAppend(boolean append) {↵ | | 16 | public void setLogError(boolean logError) {↵
|
16 | if (isReference()) {↵ | | 17 | if (isReference()) {↵
|
17 | throw tooManyAttributes();↵ | | 18 | throw tooManyAttributes();↵
|
18 | }↵ | | 19 | }↵
|
19 | this.append = ((append) ? Boolean.TRUE : Boolean.FALSE);↵ | | 20 | this.logError = ((logError) ? Boolean.TRUE : Boolean.FALSE);↵
|
20 | | | 21 |
|