1 | void addFileset(FileSet fs) throws BuildException {↵ | | 1 | void addFilelist(FileList fl) throws BuildException {↵
|
2 | if (fs.getProject() == null) {↵ | | 2 | if (fl.getProject() == null) {↵
|
3 | fs.setProject(getProject());↵ | | 3 | fl.setProject(getProject());↵
|
4 | }↵ | | 4 | }↵
|
5 | add(fs);↵ | | 5 | add(fl);↵
|
6 | }↵ | | 6 | }↵
|
|
7 | /**↵ | | 7 | /**↵
|
8 | * Adds a nested <code><filelist></code> element.↵ | | 8 | * Adds a nested <code><dirset></code> element.↵
|
9 | * @param fl a <code>FileList</code> to be added to the path↵ | | 9 | * @param dset a <code>DirSet</code> to be added to the path↵
|
10 | * @throws BuildException on error↵ | | 10 | * @throws BuildException on error↵
|
11 | */↵ | | 11 | */↵
|
12 | public void addFilelist(FileList fl) throws BuildException {↵ | | 12 | public void addDirset(DirSet dset) throws BuildException {↵
|
13 | if (fl.getProject() == null) {↵ | | 13 | if (dset.getProject() == null) {↵
|
14 | fl.setProject(getProject());↵ | | 14 | dset.setProject(getProject());↵
|
15 | }↵ | | 15 | }↵
|
16 | add(fl);↵ | | 16 | add(dset);↵
|
17 | | | 17 |
|