1 | Path createClasspath() {↵ | | 1 | Path createClasspath() {↵
|
2 | if (this.classpath == null) {↵ | | 2 | if (classpath == null) {↵
|
3 | this.classpath = new Path(getProject());↵ | | 3 | classpath = new Path(getProject());↵
|
4 | }↵ | | 4 | }↵
|
5 | return this.classpath.createPath();↵ | | 5 | return classpath.createPath();↵
|
6 | }↵ | | 6 | }↵
|
|
7 | /**↵ | | 7 | /**↵
|
8 | * Set the classpath by reference.↵ | | 8 | * Adds a reference to a CLASSPATH defined elsewhere.↵
|
9 | *↵ | | 9 | *↵
|
10 | * @param r a Reference to a Path instance to be used as the classpath↵ | | 10 | * @param r the reference to an instance defining the classpath↵
|
11 | * value.↵ | | 11 | .↵
|
12 | */↵ | | 12 | */↵
|
13 | public void setClasspathRef(Reference r) {↵ | | 13 | public void setClasspathRef(Reference r) {↵
|
14 | createClasspath().setRefid(r);↵ | | 14 | createClasspath().setRefid(r);↵
|
15 | | | 15 |
|