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