1 | Path createClasspath() {↵ | | 1 | Path createClasspath() {↵
|
2 | if (this.classpath == null) {↵ | | 2 | if (compileClasspath == null) {↵
|
3 | this.classpath = new Path(getProject());↵ | | 3 | compileClasspath = new Path(getProject());↵
|
4 | }↵ | | 4 | }↵
|
5 | return this.classpath.createPath();↵ | | 5 | return compileClasspath.createPath();↵
|
6 | }↵ | | 6 | }↵
|
|
7 | /**↵ | | 7 | /**↵
|
8 | * Reference to existing path, to use as a classpath.↵ | | 8 | * ↵
|
9 | * @param r the reference to use.↵ | | 9 | Create a new JVM argument. Ignored if no JVM is forked.↵
|
| | | 10 | * @param commandline the commandline to create the argument on↵
|
| | | 11 | * @return create a new JVM argument so that any argument can↵
|
| | | 12 | * be passed to the JVM.↵
|
| | | 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↵
|
10 | */↵ | | 21 | */↵
|
11 | public void setClasspathRef(Reference r) {↵ | | 22 | public void setClasspathRef(Reference r) {↵
|
12 | createClasspath().setRefid(r);↵ | | 23 | createClasspath().setRefid(r);↵
|
13 | | | 24 |
|