Summary: | app-editors/jedit bundles bsh sources | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Petteri Räty (RETIRED) <betelgeuse> |
Component: | Current packages | Assignee: | Java team <java> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | esigra, jstein |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 177023 | ||
Attachments: | Errors after removing org/gjt/sp/jedit/bsh |
Description
Petteri Räty (RETIRED)
![]() 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 \
|