aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.Scripting.EmbeddedJVM/Interpreter.cs
diff options
context:
space:
mode:
authorMW2007-04-11 12:13:21 +0000
committerMW2007-04-11 12:13:21 +0000
commit5ad6d5a939fb7bf0fdfdc6925d4afed306e08641 (patch)
tree8bcf302b69297a27ab254d087f73fe88fecab464 /OpenSim.Scripting.EmbeddedJVM/Interpreter.cs
parentChanged so that a bin\ScriptEngines\ directory will be searched for scripting... (diff)
downloadopensim-SC_OLD-5ad6d5a939fb7bf0fdfdc6925d4afed306e08641.zip
opensim-SC_OLD-5ad6d5a939fb7bf0fdfdc6925d4afed306e08641.tar.gz
opensim-SC_OLD-5ad6d5a939fb7bf0fdfdc6925d4afed306e08641.tar.bz2
opensim-SC_OLD-5ad6d5a939fb7bf0fdfdc6925d4afed306e08641.tar.xz
First basic test script now works in the jvm scripting engine.
For it to work you need to have a java sdk installed and the javac.exe somewhere in the environment Path variable. Then To test, copy the text from bin/script1.text into a note card and then add that note to a prim.
Diffstat (limited to '')
-rw-r--r--OpenSim.Scripting.EmbeddedJVM/Interpreter.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim.Scripting.EmbeddedJVM/Interpreter.cs b/OpenSim.Scripting.EmbeddedJVM/Interpreter.cs
index aeeee0a..b94248c 100644
--- a/OpenSim.Scripting.EmbeddedJVM/Interpreter.cs
+++ b/OpenSim.Scripting.EmbeddedJVM/Interpreter.cs
@@ -49,6 +49,7 @@ namespace OpenSim.Scripting.EmbeddedJVM
49 else 49 else
50 { 50 {
51 // Console.WriteLine("No parent function so ending program"); 51 // Console.WriteLine("No parent function so ending program");
52 this._mThread.stack.StackFrames.Pop();
52 run = false; 53 run = false;
53 } 54 }
54 handled = true; 55 handled = true;
@@ -71,6 +72,7 @@ namespace OpenSim.Scripting.EmbeddedJVM
71 else 72 else
72 { 73 {
73 // Console.WriteLine("No parent function so ending program"); 74 // Console.WriteLine("No parent function so ending program");
75 this._mThread.stack.StackFrames.Pop();
74 run = false; 76 run = false;
75 } 77 }
76 handled = true; 78 handled = true;
@@ -88,6 +90,7 @@ namespace OpenSim.Scripting.EmbeddedJVM
88 else 90 else
89 { 91 {
90 // Console.WriteLine("No parent function so ending program"); 92 // Console.WriteLine("No parent function so ending program");
93 this._mThread.stack.StackFrames.Pop();
91 run = false; 94 run = false;
92 } 95 }
93 handled = true; 96 handled = true;