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