Skip to content

Commit 9d84968

Browse files
nguyenqzdenop
authored andcommitted
fix building of ScrollView.jar with modern java version; fixes tesseract-ocr#1289
1 parent 5fac511 commit 9d84968

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

java/Makefile.am

+4-2
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ SCROLLVIEW_CLASSES = \
3737

3838
SCROLLVIEW_LIBS = \
3939
piccolo2d-core-3.0.jar \
40-
piccolo2d-extras-3.0.jar
40+
piccolo2d-extras-3.0.jar \
41+
jaxb-api-2.3.1.jar
4142

42-
CLASSPATH = piccolo2d-core-3.0.jar:piccolo2d-extras-3.0.jar
43+
CLASSPATH = piccolo2d-core-3.0.jar:piccolo2d-extras-3.0.jar:jaxb-api-2.3.1.jar
4344

4445
ScrollView.jar : $(SCROLLVIEW_CLASSES)
4546
$(JAR) cfm $@ $(srcdir)/Manifest.txt com/google/scrollview/*.class \
@@ -52,6 +53,7 @@ $(SCROLLVIEW_CLASSES) : $(SCROLLVIEW_FILES) $(SCROLLVIEW_LIBS)
5253
fetch-jars $(SCROLLVIEW_LIBS):
5354
curl -L http://search.maven.org/remotecontent?filepath=org/piccolo2d/piccolo2d-core/3.0/piccolo2d-core-3.0.jar > piccolo2d-core-3.0.jar
5455
curl -L http://search.maven.org/remotecontent?filepath=org/piccolo2d/piccolo2d-extras/3.0/piccolo2d-extras-3.0.jar > piccolo2d-extras-3.0.jar
56+
curl -L http://search.maven.org/remotecontent?filepath=javax/xml/bind/jaxb-api/2.3.1/jaxb-api-2.3.1.jar > jaxb-api-2.3.1.jar
5557

5658
.PHONY: install-jars
5759
install-jars : ScrollView.jar

java/Manifest.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Main-Class: com/google/scrollview/ScrollView
2-
Class-Path: ScrollView.jar piccolo2d-core-3.0.jar piccolo2d-extras-3.0.jar
2+
Class-Path: ScrollView.jar piccolo2d-core-3.0.jar piccolo2d-extras-3.0.jar jaxb-api-2.3.1.jar

0 commit comments

Comments
 (0)