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 | * Set the reference to an optional classpath to the XSL processor↵ | | 8 | * Adds a reference to a classpath defined elsewhere.↵
|
9 | *↵ | | 9 | *↵
|
10 | * @param r the id of the Ant path instance to act as the classpath↵ | | 10 | * @param r ↵
|
11 | * for loading the XSL processor↵ | | 11 | a reference to a path object to be used as the depend↵
|
| | | 12 | * classpath↵
|
12 | */↵ | | 13 | */↵
|
13 | public void setClasspathRef(Reference r) {↵ | | 14 | public void setClasspathRef(Reference r) {↵
|
14 | createClasspath().setRefid(r);↵ | | 15 | createClasspath().setRefid(r);↵
|
15 | | | 16 |
|