1 | void setAddsourcefile(boolean b) {↵ | | 1 | void setSkipEmptyFilesets(boolean skip) {↵
|
2 | throw new BuildException(getTaskType()↵ | | 2 | throw new BuildException(getTaskType()↵
|
3 | + " doesn\'t support the addsource↵ | | 3 | + " doesn\'t support the "↵
|
4 | file attribute",↵ | | 4 | + "skipemptyfileset attribute",↵
|
5 | getLocation());↵ | | 5 | getLocation());↵
|
6 | }↵ | | 6 | }↵
|
|
7 | /**↵ | | 7 | /**↵
|
8 | * Set skip empty file sets.↵ | | 8 | * ↵
|
9 | * This is not allowed, and it always throws a BuildException.↵ | | |
|
10 | * @param skip ignored↵ | | |
|
11 | * @ant.attribute ignore="true"↵ | | 9 | Prevent the use of the addsourcefile atribute.↵
|
| | | 10 | *↵
|
| | | 11 | * @ant.attribute ignore="true"↵
|
| | | 12 | * @param b A user supplied boolean we won't accept.↵
|
12 | */↵ | | 13 | */↵
|
13 | public void setSkipEmptyFilesets(boolean skip) {↵ | | 14 | public void setAddsourcefile(boolean b) {↵
|
14 | throw new BuildException(getTaskType()↵ | | 15 | throw new BuildException(getTaskType()↵
|
15 | + " doesn\'t support the "↵ | | 16 | + " doesn\'t support the ↵
|
16 | + "skipemptyfileset attribute",↵ | | 17 | addsourcefile attribute",↵
|
17 | getLocation());↵ | | 18 | getLocation());↵
|
18 | | | 19 |
|