> > http://www.entrelacs.net/home/Java/beanInfoMaker.html > > http://www.entrelacs.net/home/Java/beanInfoMaker.bsh > > > > I have no idea how to make it work from within JDE, > > Put the beanInfoMaker.bsh script in the > jde/java/bsh-commands/bsh/commands/ directory. Start the BeanShell > (M-x bsh) and enter the beanInfoMaker command at the BeanShell command > line in the BeanShell, e.g., > > % beanInfoMaker("mybeans.MyBean"); > > The ability to easily write and run Java scripts from within > Emacs is one of the more little known and appreciated features of the > JDEE.
I use this feature absolutely _everyday_ and I love it very dearly, it's so mighty and powerful! Thanks again for giving it to us (and thanks to Pat Niemeyer, a great benefactor for us, I always light up a candle for him). The point I wanted to make is: I don't know how to make a wizard out of this script, that is get the buffer name MyClass.java, create a new buffer name MyClassBeanInfo.java and yank the result of the script into it. Without having to type anything in the bsh, like a proper wizard should do. That's what I meant. Another thing about the BeanShell, I said that jedit revolves around it, basically everything you do is a message sent to the buffer object through the bsh. Their community has created a wealth of scripts (in bsh, that is in loosely typed java) which emulate (really) most of the behaviours I love in JDE. We might have a look how to interface their work into JDE through the bsh to add functionalities without lisp. I mean I don't know how to send e-lisp commands to emacs from the bsh. If I could, then I would be able to make really powerful things without lisp, in plain java. But then I may as well switch to jedit altogether ;-) I won't, just teasing! Christian Mercat PS Sorry Paul I intended to send it solely to the list.
