1 | void setClasspath(Path path) {↵ | | 1 | void setBootclasspath(Path src) {↵
|
2 | if (classpath == null) {↵ | | 2 | if (bootclasspath == null) {↵
|
3 | classpath = path;↵ | | 3 | bootclasspath = src;↵
|
4 | } else {↵ | | 4 | } else {↵
|
5 | classpath.append(path);↵ | | 5 | bootclasspath.append(src);↵
|
6 | }↵ | | 6 | }↵
|
7 | }↵ | | 7 | }↵
|
|
8 | /**↵ | | 8 | /**↵
|
9 | * Create a Path to be configured with the classpath to use↵ | | 9 | * ↵
|
10 | *↵ | | |
|
11 | * @return a new Path instance to be configured with the classpath↵ | | 10 | Adds path to bootstrap class files.↵
|
12 | .↵ | | 11 | * @return a path to be configured.↵
|
13 | */↵ | | 12 | */↵
|
14 | public Path createClasspath() {↵ | | 13 | public Path createBootclasspath() {↵
|
15 | if (classpath == null) {↵ | | 14 | if (bootclasspath == null) {↵
|
16 | classpath = new Path(getProject());↵ | | 15 | bootclasspath = new Path(getProject());↵
|
17 | }↵ | | 16 | }↵
|
18 | return classpath.createPath();↵ | | 17 | return bootclasspath.createPath();↵
|
19 | | | 18 |
|