1 | Path createSourcepath() {↵ | | 1 | Path createBootclasspath() {↵
|
2 | if (sourcePath == null) {↵ | | 2 | if (bootclasspath == null) {↵
|
3 | sourcePath = new Path(getProject());↵ | | 3 | bootclasspath = new Path(getProject());↵
|
4 | }↵ | | 4 | }↵
|
5 | return sourcePath.createPath();↵ | | 5 | return bootclasspath.createPath();↵
|
6 | }↵ | | 6 | }↵
|
|
7 | /**↵ | | 7 | /**↵
|
8 | * Adds a reference to a CLASSPATH defined elsewhere.↵ | | 8 | * Adds a reference to a CLASSPATH defined elsewhere.↵
|
9 | *↵ | | 9 | *↵
|
10 | * @param r the reference containing the source path definition.↵ | | 10 | * @param r the reference to an instance defining the bootclasspath.↵
|
11 | */↵ | | 11 | */↵
|
12 | public void setSourcepathRef(Reference r) {↵ | | 12 | public void setBootClasspathRef(Reference r) {↵
|
13 | createSourcepath().setRefid(r);↵ | | 13 | createBootclasspath().setRefid(r);↵
|
14 | | | 14 |
|