1 | Path createClasspath() {↵ | | 1 | Path createClasspath() {↵
|
2 | if (classpath == null) {↵ | | 2 | if (classpath == null) {↵
|
3 | classpath = new Path(getProject());↵ | | 3 | classpath = new Path(getProject());↵
|
4 | }↵ | | 4 | }↵
|
5 | return classpath.createPath();↵ | | 5 | return classpath.createPath();↵
|
6 | }↵ | | 6 | }↵
|
|
7 | /**↵ | | 7 | /**↵
|
8 | * Adds a reference to a classpath defined elsewhere↵ | | 8 | * Set the reference to an optional classpath ↵
|
9 | * @param r a reference to a classpath.↵ | | 9 | to the XSL processor↵
|
| | | 10 | *↵
|
| | | 11 | * @param r the id of the Ant path instance to act as the classpath↵
|
| | | 12 | * for loading the XSL processor↵
|
10 | */↵ | | 13 | */↵
|
11 | public void setClasspathRef(Reference r) {↵ | | 14 | public void setClasspathRef(Reference r) {↵
|
12 | createClasspath().setRefid(r);↵ | | 15 | createClasspath().setRefid(r);↵
|
13 | | | 16 |
|