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