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