From: Larry B. <bec...@gm...> - 2007-11-21 14:16:02
|
Hi SS, Jon put BeanShell support in JUMP a long time ago. All I did was make it possible to create BeanShell tools (BeanTools) on the menu more easily. You should be able to use the library jar normally. regards, Larry On Nov 20, 2007 5:10 PM, Sunburned Surveyor <sun...@gm...> wrote: > This is probably a question for Larry or Michael. > > I know that Beanshell scripts are supported in OpenJUMP thanks to a > plug-in that Larry wrote. The book "Learning Java" by O'reilly has > made be a fan of BeanShell. I'd like to support the execution of > BeanShell scripts in a plug-in that I am writing. If the BeanShell > interpreter has already been included in other plug-ins I want to > avoid including it in my own plug-in. I didn't see a way to access the > BeanShell interpreter through the public methods of the > BeanShellPlugIn or BeanToolsPlugIn. > > Since the bsh.jar is already in OpenJUMP's lib folder I should be able > to just import BeanShell classes and use them as I typically would, > correct? > > Thanks, > > The Sunburned Surveyor > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Jump-pilot-devel mailing list > Jum...@li... > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > -- http://amusingprogrammer.blogspot.com/ |