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