From: Slava P. <sp...@gj...> - 2000-04-25 03:32:57
|
Andre Kaplan wrote: > The RhinoShell plugin lets you play with jEdit's objects and customize > jEdit very easily. > Rhino's LiveConnect lets you create plugins very easily thanks to Java > Adapters (examples given with RhinoShell). > It's not as lightweight as BeanShell but Javascript aka Ecmascript is a > very popular scripting language. > > It's not in Plugin Central for several reasons: > - For some reason, I can't seem to be able to access plugin classes from > RhinoShell and any class > not loaded by the default class loader: I still wonder why That's because you use Class.forName(). For obvious reasons that doesn't work for non-system classes. You must call: <plugin instance>.getClass().getClassLoader().loadClass("..."); > - The error list support is inexistent: I'm wondering if i've missed > something while adapting BeanShell The BeanShell plugin has the code to support the error list, but it doesn't actually add errors yet (because BeanShell's error reporting is rather flimsy). Slava |