1 | void setSourcepath(Path src) {↵ | | 1 | void setBootclasspath(Path src) {↵
|
2 | if (sourcePath == null) {↵ | | 2 | if (bootclasspath == null) {↵
|
3 | sourcePath = src;↵ | | 3 | bootclasspath = src;↵
|
4 | } else {↵ | | 4 | } else {↵
|
5 | sourcePath.append(src);↵ | | 5 | bootclasspath.append(src);↵
|
6 | }↵ | | 6 | }↵
|
7 | }↵ | | 7 | }↵
|
|
8 | /**↵ | | 8 | /**↵
|
9 | * Create a path to be configured with the locations of the source↵ | | 9 | * Adds path to b↵
|
10 | * files.↵ | | 10 | ootstrap class files.↵
|
11 | *↵ | | |
|
12 | * @return a new Path instance to be configured by the Ant core.↵ | | 11 | * @return a path to be configured.↵
|
13 | */↵ | | 12 | */↵
|
14 | public Path createSourcepath() {↵ | | 13 | public Path createBootclasspath() {↵
|
15 | if (sourcePath == null) {↵ | | 14 | if (bootclasspath == null) {↵
|
16 | sourcePath = new Path(getProject());↵ | | 15 | bootclasspath = new Path(getProject());↵
|
17 | }↵ | | 16 | }↵
|
18 | return sourcePath.createPath();↵ | | 17 | return bootclasspath.createPath();↵
|
19 | | | 18 |
|