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