1 | Path createClasspath() {↵ | | 1 | Path createClasspath() {↵
|
2 | if (classpath == null) {↵ | | 2 | if (compileClasspath == null) {↵
|
3 | classpath = new Path(getProject());↵ | | 3 | compileClasspath = new Path(getProject());↵
|
4 | }↵ | | 4 | }↵
|
5 | return classpath.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 the reference to an instance defining the classpath.↵ | | 10 | * @param pathRef the reference to add to the classpath↵
|
12 | */↵ | | 11 | */↵
|
13 | public void setClasspathRef(Reference r) {↵ | | 12 | public void setClasspathRef(Reference pathRef) {↵
|
14 | createClasspath().setRefid(r);↵ | | 13 | createClasspath().setRefid(pathRef);↵
|
15 | | | 14 |
|