betelgeuse@pena /mnt/checkouts/java/testcases/dev-java/ant-javamail $ lsjar jedit | grep bsh | wc -l 192 betelgeuse@pena /mnt/checkouts/java/testcases/dev-java/ant-javamail $ lsjar jedit | grep bsh | head bsh/ bsh/classpath/ bsh/collection/ bsh/commands/ bsh/org/ bsh/org/objectweb/ bsh/org/objectweb/asm/ bsh/reflect/ bsh/BSHAllocationExpression.class bsh/BSHAmbiguousName.class
It seems jedit has a couple of local modifications. I guess we could patch our bsh with that stuff: betelgeuse@pena /var/tmp/portage/app-editors/jedit-4.3_pre9/work/jEdit $ diff -qr bsh/ /var/tmp/portage/dev-java/bsh-2.0_beta4-r3/work/BeanShell-2.0b4/src/bsh/ Only in /var/tmp/portage/dev-java/bsh-2.0_beta4-r3/work/BeanShell-2.0b4/src/bsh/: Console.java Only in /var/tmp/portage/dev-java/bsh-2.0_beta4-r3/work/BeanShell-2.0b4/src/bsh/: .errLog Files bsh/Interpreter.java and /var/tmp/portage/dev-java/bsh-2.0_beta4-r3/work/BeanShell-2.0b4/src/bsh/Interpreter.java differ Only in /var/tmp/portage/dev-java/bsh-2.0_beta4-r3/work/BeanShell-2.0b4/src/bsh/: lib Files bsh/NameSpace.java and /var/tmp/portage/dev-java/bsh-2.0_beta4-r3/work/BeanShell-2.0b4/src/bsh/NameSpace.java differ Only in bsh/: org Only in /var/tmp/portage/dev-java/bsh-2.0_beta4-r3/work/BeanShell-2.0b4/src/bsh/: servlet Only in /var/tmp/portage/dev-java/bsh-2.0_beta4-r3/work/BeanShell-2.0b4/src/bsh/: util
Created attachment 862906 [details] Errors after removing org/gjt/sp/jedit/bsh Presently on dev-java/bsh-2.1.1 Removing org/gjt/sp/jedit/bsh 's:org.gjt.sp.jedit.bsh:bsh:' would lead to errors. Multiple errors like this: ========================== /var/tmp/portage/app-editors/jedit-5.6.0/work/jEdit/org/gjt/sp/jedit/JEditBeanShellAction.java:104: error: no suitable method found for setVariable(String,Component) global.setVariable("_comp",comp); ^ method NameSpace.setVariable(String,Object,boolean) is not applicable (actual and formal argument lists differ in length) method NameSpace.setVariable(String,Object,boolean,boolean) is not applicable (actual and formal argument lists differ in length) Changes on the ebuild: ====================== default mkdir -p lib/{ant-contrib,compile,default-plugins,scripting,test} || die + rm -r org/gjt/sp/jedit/bsh || die + sed \ + -e 's:org.gjt.sp.jedit.bsh:bsh:' \ + -i org/gjt/sp/jedit/*.java \ + -i org/gjt/sp/jedit/*/*.java \ + -i build.xml \ + -i doc/users-guide/bsh-commands.xml \ + -i jEdit.iml \ + || die + java-ant_xml-rewrite -f "${S}/build.xml" -c \