aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/Robust.32BitLaunch/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Tools/Robust.32BitLaunch/Program.cs (renamed from OpenSim/Grid/Manager/OpenGridServices.Manager/ConnectToGridServerDialog.cs)38
1 files changed, 22 insertions, 16 deletions
diff --git a/OpenSim/Grid/Manager/OpenGridServices.Manager/ConnectToGridServerDialog.cs b/OpenSim/Tools/Robust.32BitLaunch/Program.cs
index fd4d211..490414c 100644
--- a/OpenSim/Grid/Manager/OpenGridServices.Manager/ConnectToGridServerDialog.cs
+++ b/OpenSim/Tools/Robust.32BitLaunch/Program.cs
@@ -25,30 +25,36 @@
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28using Gtk;
29using System; 28using System;
29using log4net;
30 30
31namespace OpenGridServices.Manager 31namespace Robust._32BitLaunch
32{ 32{
33 public partial class ConnectToGridServerDialog : Gtk.Dialog 33 class Program
34 { 34 {
35 public ConnectToGridServerDialog() 35 static void Main(string[] args)
36 { 36 {
37 this.Build(); 37 log4net.Config.XmlConfigurator.Configure();
38 }
39 38
40 protected virtual void OnResponse(object o, Gtk.ResponseArgs args) 39 System.Console.WriteLine("32-bit OpenSim executor");
41 { 40 System.Console.WriteLine("-----------------------");
42 switch (args.ResponseId) 41 System.Console.WriteLine("");
42 System.Console.WriteLine("This application is compiled for 32-bit CPU and will run under WOW32 or similar.");
43 System.Console.WriteLine("All 64-bit incompatibilities should be gone.");
44 System.Console.WriteLine("");
45 System.Threading.Thread.Sleep(300);
46 try
43 { 47 {
44 case Gtk.ResponseType.Ok: 48 global::OpenSim.Server.OpenSimServer.Main(args);
45 MainClass.PendingOperations.Enqueue("connect_to_gridserver " + this.entry1.Text + " " + this.entry2.Text + " " + this.entry3.Text); 49 }
46 break; 50 catch (Exception ex)
47 51 {
48 case Gtk.ResponseType.Cancel: 52 System.Console.WriteLine("OpenSim threw an exception:");
49 break; 53 System.Console.WriteLine(ex.ToString());
54 System.Console.WriteLine("");
55 System.Console.WriteLine("Application will now terminate!");
56 System.Console.WriteLine("");
50 } 57 }
51 this.Hide();
52 } 58 }
53 } 59 }
54} 60}