diff options
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.cs | 3 |
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; |