1 | void setClasspath(Path classpath) {↵ | | 1 | void setExtdirs(Path extDirs) {↵
|
2 | if (this.classpath == null) {↵ | | 2 | if (this.extDirs == null) {↵
|
3 | this.classpath = classpath;↵ | | 3 | this.extDirs = extDirs;↵
|
4 | } else {↵ | | 4 | } else {↵
|
5 | this.classpath.append(classpath);↵ | | 5 | this.extDirs.append(extDirs);↵
|
6 | }↵ | | 6 | }↵
|
7 | }↵ | | 7 | }↵
|
|
8 | /**↵ | | 8 | /**↵
|
9 | * The classpath to use when looking up a resource.↵ | | 9 | * Maybe creates a nested extdirs element.↵
|
10 | * @return a path to be configured↵ | | 10 | * @return path object to be configured with the extension directories↵
|
11 | */↵ | | 11 | */↵
|
12 | public Path createClasspath() {↵ | | 12 | public Path createExtdirs() {↵
|
13 | if (this.classpath == null) {↵ | | 13 | if (extDirs == null) {↵
|
14 | this.classpath = new Path(getProject());↵ | | 14 | extDirs = new Path(getProject());↵
|
15 | }↵ | | 15 | }↵
|
16 | return this.classpath.createPath();↵ | | 16 | return extDirs.createPath();↵
|
17 | } | | 17 | }
|