1 | Path createClasspath() {↵ | | 1 | Path createClasspath() {↵
|
2 | if (compileClasspath == null) {↵ | | 2 | if (classpath == null) {↵
|
3 | compileClasspath = new Path(getProject());↵ | | 3 | classpath = new Path(getProject());↵
|
4 | }↵ | | 4 | }↵
|
5 | return compileClasspath.createPath();↵ | | 5 | return classpath.createPath();↵
|
6 | }↵ | | 6 | }↵
|
|
7 | /**↵ | | 7 | /**↵
|
8 | * Create a new JVM argument. Ignored if no JVM is forked.↵ | | 8 | * ↵
|
9 | * @param commandline the commandline to create the argument on↵ | | |
|
10 | * @return create a new JVM argument so that any argument can↵ | | 9 | Set the reference to an optional classpath to the XSL processor↵
|
11 | * ↵ | | 10 | *↵
|
12 | be passed to the JVM.↵ | | 11 | ↵
|
13 | * @see #setFork(boolean)↵ | | |
|
14 | */↵ | | |
|
15 | public Commandline.Argument createJvmarg(CommandlineJava commandline) {↵ | | |
|
16 | return commandline.createVmArgument();↵ | | |
|
17 | }↵ | | |
|
|
18 | /**↵ | | |
|
19 | * Adds a reference to a classpath defined elsewhere.↵ | | |
|
20 | * @param r a classpath reference↵ | | 12 | * @param r the id of the Ant path instance to act as the classpath↵
|
| | | 13 | * for loading the XSL processor↵
|
21 | */↵ | | 14 | */↵
|
22 | public void setClasspathRef(Reference r) {↵ | | 15 | public void setClasspathRef(Reference r) {↵
|
23 | createClasspath().setRefid(r);↵ | | 16 | createClasspath().setRefid(r);↵
|
24 | | | 17 |
|