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