bodewig 2003/11/28 02:17:35 Modified: proposal/sandbox/dotnet/src/main/org/apache/tools/ant/taskdefs/optional/dotnet AbstractBuildTask.java Log: Expose vm attribute in <nant> and <msbuild> Revision Changes Path 1.3 +17 -0 ant/proposal/sandbox/dotnet/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/AbstractBuildTask.java Index: AbstractBuildTask.java =================================================================== RCS file: /home/cvs/ant/proposal/sandbox/dotnet/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/AbstractBuildTask.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- AbstractBuildTask.java 27 Nov 2003 14:11:05 -0000 1.2 +++ AbstractBuildTask.java 28 Nov 2003 10:17:35 -0000 1.3 @@ -95,6 +95,11 @@ private XMLFragment buildSnippet; /** + * The vm attribute - if given. + */ + private String vm; + + /** * Empty constructor. */ protected AbstractBuildTask() { @@ -120,6 +125,15 @@ } /** + * 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. */ public static class Target { @@ -226,6 +240,9 @@ } DotNetExecTask exec = new DotNetExecTask(); + if (vm != null) { + exec.setVm(vm); + } exec.setProject(getProject()); exec.setExecutable(getExecutable()); exec.setTaskName(getTaskName());
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]