[Monodevelop-patches-list] r1711 - trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Tue Jun 8 12:29:02 EDT 2004
Author: jluke
Date: 2004-06-08 12:29:02 -0400 (Tue, 08 Jun 2004)
New Revision: 1711
Modified:
trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding/ChangeLog
trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding/JavaBindingExecutionServices.cs
Log:
fix JavaBinding so Console projects work again
Modified: trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding/ChangeLog 2004-06-08 16:10:20 UTC (rev 1710)
+++ trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding/ChangeLog 2004-06-08 16:29:02 UTC (rev 1711)
@@ -1,7 +1,8 @@
2004-06-08 John Luke <jluke at cfl.rr.com>
* JavaBindingCompilerService.cs: rework so Process.Start works
- for the compiler, for a normal error message
+ * JavaBindingExecutionService.cs: rework so Process.Start works
+ by using ProcessStartInfo (cmd, args)
2004-05-25 Todd Berman <tberman at sevenl.net>
Modified: trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding/JavaBindingExecutionServices.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding/JavaBindingExecutionServices.cs 2004-06-08 16:10:20 UTC (rev 1710)
+++ trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding/JavaBindingExecutionServices.cs 2004-06-08 16:29:02 UTC (rev 1711)
@@ -51,22 +51,22 @@
string javaExec;
switch (parameters.Runtime) {
case JavaRuntime.Ikvm:
- javaExec = "xterm -e \"ikvm -classpath " + parameters.ClassPath + " " + mainClass + ";read -p 'press any key to continue...' -n1\"";
+ javaExec = "-e \"ikvm -classpath " + parameters.ClassPath + " " + mainClass + ";read -p 'press any key to continue...' -n1\"";
break;
// FIXME: need to both compile with ikvmc
// and then run with mono
case JavaRuntime.Mono:
- javaExec = "xterm -e \"ikvm -classpath " + parameters.ClassPath + " " + mainClass + ";read -p 'press any key to continue...' -n1\"";
+ javaExec = "-e \"ikvm -classpath " + parameters.ClassPath + " " + mainClass + ";read -p 'press any key to continue...' -n1\"";
break;
case JavaRuntime.Java:
- javaExec = "xterm -e \"java -classpath " + parameters.ClassPath + " " + mainClass + ";read -p 'press any key to continue...' -n1\"";
+ javaExec = "-e \"java -classpath " + parameters.ClassPath + " " + mainClass + ";read -p 'press any key to continue...' -n1\"";
break;
default:
- javaExec = "xterm -e \"ikvm -classpath " + parameters.ClassPath + " " + mainClass + ";read -p 'press any key to continue...' -n1\"";
+ javaExec = "-e \"ikvm -classpath " + parameters.ClassPath + " " + mainClass + ";read -p 'press any key to continue...' -n1\"";
break;
}
- ProcessStartInfo psi = new ProcessStartInfo(javaExec);
+ ProcessStartInfo psi = new ProcessStartInfo("xterm", javaExec);
try {
psi.WorkingDirectory = Path.GetDirectoryName (directory);
More information about the Monodevelop-patches-list
mailing list