|
|
@@ -94,6 +94,11 @@ public abstract class AbstractBuildTask extends Task { |
|
|
|
*/ |
|
|
|
private XMLFragment buildSnippet; |
|
|
|
|
|
|
|
/** |
|
|
|
* The vm attribute - if given. |
|
|
|
*/ |
|
|
|
private String vm; |
|
|
|
|
|
|
|
/** |
|
|
|
* Empty constructor. |
|
|
|
*/ |
|
|
@@ -119,6 +124,15 @@ public abstract class AbstractBuildTask extends Task { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* Set the name of the executable for the virtual machine. |
|
|
|
* |
|
|
|
* @param value the name of the executable for the virtual machine |
|
|
|
*/ |
|
|
|
public void setVm(String value) { |
|
|
|
this.vm = value; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* A target. |
|
|
|
*/ |
|
|
@@ -226,6 +240,9 @@ public abstract class AbstractBuildTask extends Task { |
|
|
|
} |
|
|
|
|
|
|
|
DotNetExecTask exec = new DotNetExecTask(); |
|
|
|
if (vm != null) { |
|
|
|
exec.setVm(vm); |
|
|
|
} |
|
|
|
exec.setProject(getProject()); |
|
|
|
exec.setExecutable(getExecutable()); |
|
|
|
exec.setTaskName(getTaskName()); |
|
|
|