1 | void setAppend(boolean append) {↵ | | 1 | void setAlwaysLog(boolean alwaysLog) {↵
|
2 | if (isReference()) {↵ | | 2 | if (isReference()) {↵
|
3 | throw tooManyAttributes();↵ | | 3 | throw tooManyAttributes();↵
|
4 | }↵ | | 4 | }↵
|
5 | this.append = ((append) ? Boolean.TRUE : Boolean.FALSE);↵ | | 5 | this.alwaysLog = ((alwaysLog) ? Boolean.TRUE : Boolean.FALSE);↵
|
6 | }↵ | | 6 | }↵
|
|
7 | /**↵ | | 7 | /**↵
|
8 | * If true, (error and non-error) output will be "teed", redirected↵ | | 8 | * Whether output and error↵
|
9 | * as specified while being sent to Ant's logging mechanism as if no↵ | | |
|
10 | * redirection had taken place. ↵ | | 9 | files should be created even when empty.↵
|
11 | Defaults to false.↵ | | 10 | * Defaults to true.↵
|
12 | * @param alwaysLog <code>boolean</code>↵ | | 11 | * @param createEmptyFiles <code>boolean</code>↵
|
13 | * @since Ant 1.6.3↵ | | 12 | .↵
|
14 | */↵ | | 13 | */↵
|
15 | public void setAlwaysLog(boolean alwaysLog) {↵ | | 14 | public void setCreateEmptyFiles(boolean createEmptyFiles) {↵
|
16 | if (isReference()) {↵ | | 15 | if (isReference()) {↵
|
17 | throw tooManyAttributes();↵ | | 16 | throw tooManyAttributes();↵
|
18 | }↵ | | 17 | }↵
|
19 | this.alwaysLog = ((alwaysLog)↵ | | 18 | this.createEmptyFiles = ((createEmptyFiles)↵
|
20 | ? Boolean.TRUE : Boolean.FALSE);↵ | | 19 | ? Boolean.TRUE : Boolean.FALSE);↵
|
21 | | | 20 |
|