1 | void setClasspath(Path classpath) {↵ | | 1 | void setClasspath(Path classpath) {↵
|
2 | createClasspath().append(classpath);↵ | | 2 | createClasspath().append(classpath);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Classpath to be used when searching for classes and resources.↵ | | 5 | * Set the optional classpath to the XSL processor↵
|
6 | *↵ | | 6 | *↵
|
7 | * @return an empty Path instance to be configured by Ant.↵ | | 7 | * @return a path instance to be configured by the Ant core.↵
|
8 | */↵ | | 8 | */↵
|
9 | public Path createClasspath() {↵ | | 9 | public Path createClasspath() {↵
|
10 | if (this.classpath == null) {↵ | | 10 | if (classpath == null) {↵
|
11 | this.classpath = new Path(getProject());↵ | | 11 | classpath = new Path(getProject());↵
|
12 | }↵ | | 12 | }↵
|
13 | return this.classpath.createPath();↵ | | 13 | return classpath.createPath();↵
|
14 | | | 14 |
|