On Thu, Jun 11, 2009 at 12:47 PM, Greg Brown<gkbr...@mac.com> wrote:
>
> Hm. That might work - not sure. But ideally I would be able to do this
> in Java, so that it could be independent of any particular script
> engine. In fact, I may want to run multiple script engines at once,
> all of which should be able to use the same imports.

The various scripting APIs are pretty "hands off" about providing
calls for manipulating the environment the script will run in, other
than for setting up global (and sometimes local) variables/bindings.
As far as I know there's no way to do what you want without just
putting those imports into an appropriate script for that language and
running it first.

- Charlie

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to jvm-languages@googlegroups.com
To unsubscribe from this group, send email to 
jvm-languages+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to