1 | Path createClasspath() {↵ | | 1 | Path createClasspath() {↵
|
2 | if (compileClasspath == null) {↵ | | 2 | if (dependClasspath == null) {↵
|
3 | compileClasspath = new Path(getProject());↵ | | 3 | dependClasspath = new Path(getProject());↵
|
4 | }↵ | | 4 | }↵
|
5 | return compileClasspath.createPath();↵ | | 5 | return dependClasspath.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↵ | | |
|
11 | * be passed to the JVM.↵ | | |
|
12 | * @see #setFork(boolean)↵ | | |
|
13 | */↵ | | |
|
14 | public Commandline.Argument createJvmarg(CommandlineJava commandline) {↵ | | |
|
15 | return commandline.createVmArgument();↵ | | |
|
16 | }↵ | | |
|
|
| | | 9 | Adds a reference to a classpath defined elsewhere.↵
|
17 | /**↵ | | 10 | *↵
|
18 | * Adds a reference to a classpath defined elsewhere.↵ | | 11 | * @param r a reference to a ↵
|
19 | * @param r a classpath reference↵ | | 12 | path object to be used as the depend↵
|
| | | 13 | * classpath↵
|
20 | */↵ | | 14 | */↵
|
21 | public void setClasspathRef(Reference r) {↵ | | 15 | public void setClasspathRef(Reference r) {↵
|
22 | createClasspath().setRefid(r);↵ | | 16 | createClasspath().setRefid(r);↵
|
23 | | | 17 |
|