Embed does not honor ScriptEngine.ARGV
--------------------------------------

                 Key: JRUBY-4090
                 URL: http://jira.codehaus.org/browse/JRUBY-4090
             Project: JRuby
          Issue Type: Bug
          Components: Embedding
    Affects Versions: JRuby 1.4.0RC1
            Reporter: Heiko W. Rupp
         Attachments: ScriptEngineArgvTest.java

If someone wants to use JSR223 scripting to run a (standalone) ruby script, 
that would take arguments, he can't really do so.

JSR223 defines ScriptEngine.ARGV for this purpose to be used in

ScriptEngine rubyEngine = ... ;
rubyEngine.put(ScriptEngine.ARGV,new String[]{"arg1","arg2", ... });

This behavior seems currently not implemented.

See attached test case for this

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to