1 | Path createSourcepath() {↵ | | 1 | Path createClasspath() {↵
|
2 | if (sourcePath == null) {↵ | | 2 | if (this.classpath == null) {↵
|
3 | sourcePath = new Path(getProject());↵ | | 3 | this.classpath = new Path(getProject());↵
|
4 | }↵ | | 4 | }↵
|
5 | return sourcePath.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 the reference containing the source path definition.↵ | | 10 | * @param r a reference to a classpath↵
|
12 | */↵ | | 11 | */↵
|
13 | public void setSourcepathRef(Reference r) {↵ | | 12 | public void setClasspathRef(Reference r) {↵
|
14 | createSourcepath().setRefid(r);↵ | | 13 | createClasspath().setRefid(r);↵
|
15 | | | 14 |
|