[Monodevelop-patches-list] r1713 - in trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding: . Gui
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Tue Jun 8 13:19:58 EDT 2004
Author: jluke
Date: 2004-06-08 13:19:58 -0400 (Tue, 08 Jun 2004)
New Revision: 1713
Modified:
trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding/ChangeLog
trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding/Gui/ProjectConfigurationPropertyPanel.cs
trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding/JavaBindingExecutionServices.cs
trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding/JavaRuntime.cs
Log:
add Gij, allow writing straight Java with other runtimes
Modified: trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding/ChangeLog 2004-06-08 16:35:14 UTC (rev 1712)
+++ trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding/ChangeLog 2004-06-08 17:19:58 UTC (rev 1713)
@@ -3,6 +3,10 @@
* JavaBindingCompilerService.cs: rework so Process.Start works
* JavaBindingExecutionService.cs: rework so Process.Start works
by using ProcessStartInfo (cmd, args)
+ add support for using Gij
+ * Gui/ProjectConfigurationPropertyPanel.cs:
+ enable Java, remove Mono, and add Gij runtimes
+ * JavaRuntime.cs: add Gij
2004-05-25 Todd Berman <tberman at sevenl.net>
Modified: trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding/Gui/ProjectConfigurationPropertyPanel.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding/Gui/ProjectConfigurationPropertyPanel.cs 2004-06-08 16:35:14 UTC (rev 1712)
+++ trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding/Gui/ProjectConfigurationPropertyPanel.cs 2004-06-08 17:19:58 UTC (rev 1713)
@@ -44,6 +44,7 @@
private RadioButton ikvm = new RadioButton ("ikvm");
private RadioButton mono;
private RadioButton java;
+ private RadioButton gij;
private Entry outputAssembly = new Entry ();
private Entry outputDirectory = new Entry ();
@@ -68,6 +69,8 @@
compilerParameters.Runtime = JavaRuntime.Ikvm;
else if (mono.Active)
compilerParameters.Runtime = JavaRuntime.Mono;
+ else if (gij.Active)
+ compilerParameters.Runtime = JavaRuntime.Gij;
else
compilerParameters.Runtime = JavaRuntime.Java;
@@ -104,6 +107,9 @@
case JavaRuntime.Java:
java.Active = true;
break;
+ case JavaRuntime.Gij:
+ gij.Active = true;
+ break;
default:
ikvm.Active = true;
break;
@@ -153,8 +159,9 @@
vbox.PackStart (hboxRuntime);
HBox runtimes = new HBox ();
runtimes.PackStart (ikvm);
- runtimes.PackStart (mono);
+ //runtimes.PackStart (mono);
runtimes.PackStart (java);
+ runtimes.PackStart (gij);
vbox.PackStart (runtimes);
HBox hboxClasspath = new HBox ();
hboxClasspath.PackStart (labelClasspath, false, false, 0);
@@ -197,7 +204,8 @@
mono = new RadioButton (ikvm, "mono");
mono.Sensitive = false;
java = new RadioButton (ikvm, "java");
- java.Sensitive = false;
+ //java.Sensitive = false;
+ gij = new RadioButton (ikvm, "gij");
runtimeLabel.Markup = String.Format ("<b>{0}</b>", GettextCatalog.GetString ("Runtime"));
Modified: trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding/JavaBindingExecutionServices.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding/JavaBindingExecutionServices.cs 2004-06-08 16:35:14 UTC (rev 1712)
+++ trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding/JavaBindingExecutionServices.cs 2004-06-08 17:19:58 UTC (rev 1713)
@@ -61,6 +61,9 @@
case JavaRuntime.Java:
javaExec = "-e \"java -classpath " + parameters.ClassPath + " " + mainClass + ";read -p 'press any key to continue...' -n1\"";
break;
+ case JavaRuntime.Gij:
+ javaExec = "-e \"gij -classpath " + parameters.ClassPath + " " + mainClass + ";read -p 'press any key to continue...' -n1\"";
+ break;
default:
javaExec = "-e \"ikvm -classpath " + parameters.ClassPath + " " + mainClass + ";read -p 'press any key to continue...' -n1\"";
break;
Modified: trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding/JavaRuntime.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding/JavaRuntime.cs 2004-06-08 16:35:14 UTC (rev 1712)
+++ trunk/MonoDevelop/src/AddIns/BackendBindings/JavaBinding/JavaRuntime.cs 2004-06-08 17:19:58 UTC (rev 1713)
@@ -7,6 +7,7 @@
Ikvm, // JIT to CIL and then exec with mono
Mono, // compile with ikvmc and then run with mono
Java, // an installed JRE
+ Gij, // gcj interpreter
}
}
More information about the Monodevelop-patches-list
mailing list