1 | void setDefaultexcludes(boolean useDefaultExcludes) {↵ | | 1 | void setFollowSymlinks(boolean followSymlinks) {↵
|
2 | if (isReference()) {↵ | | 2 | if (isReference()) {↵
|
3 | throw tooManyAttributes();↵ | | 3 | throw tooManyAttributes();↵
|
4 | }↵ | | 4 | }↵
|
5 | this.useDefaultExcludes = useDefaultExcludes;↵ | | 5 | this.followSymlinks = followSymlinks;↵
|
6 | directoryScanner = null;↵ | | 6 | directoryScanner = null;↵
|
7 | }↵ | | 7 | }↵
|
|
8 | /**↵ | | 8 | /**↵
|
9 | * Whether default exclusions should be used or not.↵ | | 9 | * Find out if the fileset wants to follow symbolic links.↵
|
| | | 10 | *↵
|
10 | * @return the default exclusions value↵ | | 11 | * @return <code>boolean</code> indicating whether symbolic links↵
|
11 | .↵ | | 12 | * should be followed.↵
|
| | | 13 | *↵
|
12 | * @since Ant 1.6.3↵ | | 14 | * @since Ant 1.6↵
|
13 | */↵ | | 15 | */↵
|
14 | public synchronized boolean getDefaultexcludes() {↵ | | 16 | public synchronized boolean isFollowSymlinks() {↵
|
15 | return (isReference())↵ | | 17 | return (isReference())↵
|
16 | ? getRef(getProject()).getDefaultexcludes() : useDefaultExcludes;↵ | | 18 | ? getRef(getProject()).isFollowSymlinks() : followSymlinks;↵
|
17 | | | 19 |
|