1 | void setCommand(Commandline cmdl) {↵ | | 1 | void setCommand(String e) {↵
|
2 | throw new BuildException(getTaskType()↵ | | 2 | throw new BuildException(getTaskType()↵
|
3 | + " doesn\'t support the command attribute",↵ | | 3 | + " doesn\'t support the command attribute",↵
|
4 | getLocation());↵ | | 4 | getLocation());↵
|
5 | }↵ | | 5 | }↵
|
|
6 | /**↵ | | 6 | /**↵
|
7 | * Prevent the skipping of empty filesets↵ | | 7 | * ↵
|
8 | *↵ | | |
|
9 | * @ant.attribute ignore="true"↵ | | |
|
10 | * @param skip A user supplied boolean we won't accept.↵ | | 8 | Add source file.↵
|
| | | 9 | * This is not allowed, and it always throws a BuildException.↵
|
| | | 10 | * @param b ignored↵
|
| | | 11 | * @ant.attribute ignore="true"↵
|
11 | */↵ | | 12 | */↵
|
12 | public void setSkipEmptyFilesets(boolean skip) {↵ | | 13 | public void setAddsourcefile(boolean b) {↵
|
13 | throw new BuildException(getTaskType()↵ | | 14 | throw new BuildException(getTaskType()↵
|
14 | + " doesn\'t support the "↵ | | 15 | + " doesn\'t support the ↵
|
15 | + "skipemptyfileset attribute",↵ | | 16 | addsourcefile attribute",↵
|
16 | getLocation());↵ | | 17 | getLocation());↵
|
17 | }↵ | | 18 | }↵
|
|
18 | /**↵ | | 19 | /**↵
|
19 | * Prevent the use of the addsourcefile atribute.↵ | | 20 | * ↵
|
20 | *↵ | | |
|
21 | * @ant.attribute ignore="true"↵ | | |
|
22 | * @param b A user supplied boolean we won't accept.↵ | | 21 | Set skip empty file sets.↵
|
| | | 22 | * This is not allowed, and it always throws a BuildException.↵
|
| | | 23 | * @param skip ignored↵
|
| | | 24 | * @ant.attribute ignore="true"↵
|
23 | */↵ | | 25 | */↵
|
24 | public void setAddsourcefile(boolean b) {↵ | | 26 | public void setSkipEmptyFilesets(boolean skip) {↵
|
25 | throw new BuildException(getTaskType()↵ | | 27 | throw new BuildException(getTaskType()↵
|
26 | + " doesn\'t support the addsource↵ | | 28 | + " doesn\'t support the "↵
|
27 | file attribute",↵ | | 29 | + "skipemptyfileset attribute",↵
|
28 | getLocation());↵ | | 30 | getLocation());↵
|
29 | | | 31 |
|