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