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