diff --git a/.gitignore b/.gitignore index ef8d6e7..3128130 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1 @@ bsh-1.3.0-src.tar.bz2 -/2.0b6.tar.gz -/bsh-2.0-b6.tar.gz -/bsh-2.1.0.tar.gz diff --git a/0000-source-target-1.8.patch b/0000-source-target-1.8.patch deleted file mode 100644 index 5fb7dfd..0000000 --- a/0000-source-target-1.8.patch +++ /dev/null @@ -1,57 +0,0 @@ -diff --git a/build.xml b/build.xml -index 8542245..6179cfa 100644 ---- a/build.xml -+++ b/build.xml -@@ -16,8 +16,8 @@ - - - -- -- -+ -+ - - - -@@ -178,8 +178,8 @@ - debug="on" - includes="**/*.java" - excludes="${excludes},**/bak/**" -- source="1.6" -- target="1.6" -+ source="1.8" -+ target="1.8" - > - - -@@ -213,8 +213,8 @@ - debug="on" - includes="**/*.java" - excludes="${excludes},**/bak/**" -- source="1.6" -- target="1.6" -+ source="1.8" -+ target="1.8" - > - - -@@ -255,7 +255,7 @@ - destdir="${javadoc-dir}" - author="true" - version="true" -- source="1.6" -+ source="1.8" - use="true" - windowtitle="BeanShell ${version}" - doctitle="<h1>BeanShell ${version}<h1>" -@@ -680,8 +680,8 @@ - destdir="${build-dir}" - debug="on" - debuglevel="lines,vars,source" -- source="1.6" -- target="1.6" -+ source="1.8" -+ target="1.8" - > - - diff --git a/0001-java-11-compatibility.patch b/0001-java-11-compatibility.patch deleted file mode 100644 index 36271b8..0000000 --- a/0001-java-11-compatibility.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 9b83372c64f30f44bd56696ae6adcbe6a83e1e2f Mon Sep 17 00:00:00 2001 -From: Fabio Valentini -Date: Mon, 20 Jul 2020 21:28:13 +0200 -Subject: [PATCH 1/1] java 11 compatibility - ---- - src/bsh/util/AWTConsole.java | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/bsh/util/AWTConsole.java b/src/bsh/util/AWTConsole.java -index e88fbff..fbb237b 100644 ---- a/src/bsh/util/AWTConsole.java -+++ b/src/bsh/util/AWTConsole.java -@@ -214,8 +214,8 @@ public class AWTConsole extends TextArea - Great. What a piece of crap. - */ - public void setCaretPosition( int pos ) { -- ((java.awt.peer.TextComponentPeer)getPeer()).setCaretPosition( -- pos + countNLs() ); -+ //((java.awt.peer.TextComponentPeer)getPeer()).setCaretPosition( -+ // pos + countNLs() ); - } - - /* --- -2.26.2 - diff --git a/bsh-1.3.0.pom b/bsh-1.3.0.pom new file mode 100644 index 0000000..2fdc81a --- /dev/null +++ b/bsh-1.3.0.pom @@ -0,0 +1,8 @@ + + + 4.0.0 + bsh + bsh + Beanshell + 1.3.0 + diff --git a/bsh-bsf-1.3.0.pom b/bsh-bsf-1.3.0.pom new file mode 100644 index 0000000..ba753f0 --- /dev/null +++ b/bsh-bsf-1.3.0.pom @@ -0,0 +1,8 @@ + + + 4.0.0 + bsh + bsh-bsf + Beanshell BSFEngine + 1.3.0 + diff --git a/bsh-build.patch b/bsh-build.patch new file mode 100644 index 0000000..31a2332 --- /dev/null +++ b/bsh-build.patch @@ -0,0 +1,54 @@ +--- BeanShell/build.xml.orig 2004-01-20 19:12:20.888557245 -0500 ++++ BeanShell/build.xml 2004-01-20 19:13:36.150184282 -0500 +@@ -103,50 +103,7 @@ + value="docs/manual/bshcommands-bshdoc.xml"/> + + +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- ++ + + + + + +- ++ + + +- ++ + +