Adding imports?
Darren Govoni <dgovoni-MiPnoaytyA1Wk0Htik3J/[email protected]> Thu, 20 Jan 2005 07:06:30 -0500
| Newsgroups | gmane.comp.java.beanshell.devel |
|---|---|
| Organization | metadapt LLC |
| Message-ID | <1106222790.17617.1.camel@samurai> |
Hi, I was trying to do something I thought trivial. I want to load a script into an interpreter instance, but I want to prime the interpreter with import packages so the script doesn't have to. I tried reloadPackages() with the 'new' packages the script will need, but that didn't work. Any tips? I want to avoid manipulating the script string to do this. thanks! Darren