1 | Path createSourcepath() {↵ | | 1 | Path createClasspath() {↵
|
2 | if (sourcePath == null) {↵ | | 2 | if (this.classpath == null) {↵
|
3 | sourcePath = new Path(getProject());↵ | | 3 | this.classpath = new Path(getProject());↵
|
4 | }↵ | | 4 | }↵
|
5 | return sourcePath.createPath();↵ | | 5 | return this.classpath.createPath();↵
|
6 | }↵ | | 6 | }↵
|
|
7 | /**↵ | | 7 | /**↵
|
8 | * Adds a reference to a CLASSPATH defined elsewhere.↵ | | 8 | * Reference to ↵
|
9 | *↵ | | |
|
10 | * @param r the reference containing the source path definition↵ | | 9 | existing path, to use as a classpath.↵
|
11 | .↵ | | 10 | * @param r the reference to use.↵
|
12 | */↵ | | 11 | */↵
|
13 | public void setSourcepathRef(Reference r) {↵ | | 12 | public void setClasspathRef(Reference r) {↵
|
14 | createSourcepath().setRefid(r);↵ | | 13 | createClasspath().setRefid(r);↵
|
15 | } | | 14 | }
|