1 | void setExtdirs(Path extdirs) {↵ | | 1 | void setBootclasspath(Path bootclasspath) {↵
|
2 | if (this.extdirs == null) {↵ | | 2 | if (this.bootclasspath == null) {↵
|
3 | this.extdirs = extdirs;↵ | | 3 | this.bootclasspath = bootclasspath;↵
|
4 | } else {↵ | | 4 | } else {↵
|
5 | this.extdirs.append(extdirs);↵ | | 5 | this.bootclasspath.append(bootclasspath);↵
|
6 | }↵ | | 6 | }↵
|
7 | }↵ | | 7 | }↵
|
|
8 | /**↵ | | 8 | /**↵
|
9 | * Gets the extension directories that will be used during the↵ | | 9 | * Gets the ↵
|
10 | * compilation.↵ | | |
|
11 | * @return the extension directories as a↵ | | 10 | bootclasspath that will be used to compile the classes↵
|
| | | 11 | * against.↵
|
12 | path↵ | | 12 | * @return the boot path↵
|
13 | */↵ | | 13 | */↵
|
14 | public Path getExtdirs() {↵ | | 14 | public Path getBootclasspath() {↵
|
15 | return extdirs;↵ | | 15 | return bootclasspath;↵
|
16 | }↵ | | 16 | }↵
|
|
17 | /**↵ | | 17 | /**↵
|
18 | * Adds a path to extdirs.↵ | | 18 | * Adds a path to the bootclasspath.↵
|
19 | * @return a path to be configured↵ | | 19 | * @return a path to be configured↵
|
20 | */↵ | | 20 | */↵
|
21 | public Path createExtdirs() {↵ | | 21 | public Path createBootclasspath() {↵
|
22 | if (extdirs == null) {↵ | | 22 | if (bootclasspath == null) {↵
|
23 | extdirs = new Path(getProject());↵ | | 23 | bootclasspath = new Path(getProject());↵
|
24 | }↵ | | 24 | }↵
|
25 | return extdirs.createPath();↵ | | 25 | return bootclasspath.createPath();↵
|
26 | } | | 26 | }
|