Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

import org.eclipse.ease.AbstractScriptEngine;
import org.eclipse.ease.Script;
import org.eclipse.ease.ScriptEngineException;
import org.eclipse.ease.lang.ruby.RubyHelper;
import org.jruby.embed.LocalVariableBehavior;
import org.jruby.embed.ScriptingContainer;
Expand All @@ -38,19 +39,16 @@ public void terminateCurrent() {
}

@Override
protected boolean setupEngine() {
protected void setupEngine() throws ScriptEngineException {
fEngine = new ScriptingContainer(LocalVariableBehavior.PERSISTENT);

fEngine.setOutput(getOutputStream());
fEngine.setError(getErrorStream());
fEngine.setInput(getInputStream());

return true;
}

@Override
protected boolean teardownEngine() {
return true;
protected void teardownEngine() throws ScriptEngineException {
}

@Override
Expand Down