1 | void setBootclasspath(Path path) {↵ | | 1 | void setCompilerclasspath(Path cp) {↵
|
2 | if (bootclasspath == null) {↵ | | 2 | if (compilerClasspath == null) {↵
|
3 | bootclasspath = path;↵ | | 3 | compilerClasspath = cp;↵
|
4 | } else {↵ | | 4 | } else {↵
|
5 | bootclasspath.append(path);↵ | | 5 | compilerClasspath.append(cp);↵
|
6 | }↵ | | 6 | }↵
|
7 | }↵ | | 7 | }↵
|
|
8 | /**↵ | | 8 | /**↵
|
9 | * Create a Path to be configured with the boot↵ | | 9 | * get the classpath used to find the compiler adapter↵
|
10 | classpath↵ | | 10 | * @return the compiler classpath.↵
|
11 | *↵ | | 11 | */↵
|
12 | * @return a new Path instance to be configured with the boot classpath↵ | | 12 | public Path getCompilerclasspath() {↵
|
| | | 13 | return compilerClasspath;↵
|
| | | 14 | }↵
|
|
| | | 15 | /**↵
|
| | | 16 | * Support nested compiler classpath, used to locate compiler adapter↵
|
13 | .↵ | | 17 | * @return a path to be configured.↵
|
14 | */↵ | | 18 | */↵
|
15 | public Path createBootclasspath() {↵ | | 19 | public Path createCompilerclasspath() {↵
|
16 | if (bootclasspath == null) {↵ | | 20 | if (compilerClasspath == null) {↵
|
17 | bootclasspath = new Path(getProject());↵ | | 21 | compilerClasspath = new Path(getProject());↵
|
18 | }↵ | | 22 | }↵
|
19 | return bootclasspath.createPath();↵ | | 23 | return compilerClasspath.createPath();↵
|
20 | } | | 24 | }
|