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