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