revision 6434 did remove the UnsupportedOperationException from EnvironmentBindings you are seeing,
however it seems like revision 6445 brough them back in.
Can you post the ScriptEngineFactory and ScriptManager config you are using for jRuby, i can't find them?
BTW:
why doesn't EnvironmentBindings just extend javax.script.SimpleBindings and provides a binding context that actually works instead of being a no-op-fake context, or do i miss something here?
Message was edited by: Michael Wohlfart
I did not configure something like a ScriptManager and so on. I only put the jruby-complete-1.5.1.jar into the classpath. This worked with the bsh-engine-1.0.1.jar. So I thought it should work with jruby too. Where do i have to configure these things you mentioned?
for me it was just to add following definition to default scripting configuration file:
<script-language name="jruby" factory="org.jruby.embed.jsr223.JRubyEngineFactory" />
Please find attached both scripting and config files.
But as Michael said, since the changes (unsupportedoperationexception) was reverted then it will not work.
Hi guys,
I re-open JBPM-2897 and submited patch again, checked in r6478.