Having a few problems running BeanShell from IDEA. First of all if I create a beanshell console & shell from an IDEA run config. Then I try to cut & paste code from an IDEA editor into Beanshell I get this exception (in beanshell):
Something going on with the editors flavours and intellij runner?
To avoid this I've tried running my beanshell from an ant script. This works by forking & spawning an java process (]]> task). However I'm finding if I use the option "close message view if no error occurred" which makes sense as beanshell will capture std in & out. After the target runs IDEA goes into a tailspin consuming memory at 100% cpu. Have to kill the idea.exe process and restart the IDE. Dosen't happen if I don't close automatically, but its a pain to close the messages & ant tool panels each & every time. Suppose I could create a custom tool to run the ant script.. but this is getting like the old lady that swallowed a fly.