mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 12:49:35 +08:00
fix building of ScrollView.jar with modern java version; fixes #1289
This commit is contained in:
parent
5fac51173b
commit
9d84968d71
@ -37,9 +37,10 @@ SCROLLVIEW_CLASSES = \
|
||||
|
||||
SCROLLVIEW_LIBS = \
|
||||
piccolo2d-core-3.0.jar \
|
||||
piccolo2d-extras-3.0.jar
|
||||
piccolo2d-extras-3.0.jar \
|
||||
jaxb-api-2.3.1.jar
|
||||
|
||||
CLASSPATH = piccolo2d-core-3.0.jar:piccolo2d-extras-3.0.jar
|
||||
CLASSPATH = piccolo2d-core-3.0.jar:piccolo2d-extras-3.0.jar:jaxb-api-2.3.1.jar
|
||||
|
||||
ScrollView.jar : $(SCROLLVIEW_CLASSES)
|
||||
$(JAR) cfm $@ $(srcdir)/Manifest.txt com/google/scrollview/*.class \
|
||||
@ -52,6 +53,7 @@ $(SCROLLVIEW_CLASSES) : $(SCROLLVIEW_FILES) $(SCROLLVIEW_LIBS)
|
||||
fetch-jars $(SCROLLVIEW_LIBS):
|
||||
curl -L http://search.maven.org/remotecontent?filepath=org/piccolo2d/piccolo2d-core/3.0/piccolo2d-core-3.0.jar > piccolo2d-core-3.0.jar
|
||||
curl -L http://search.maven.org/remotecontent?filepath=org/piccolo2d/piccolo2d-extras/3.0/piccolo2d-extras-3.0.jar > piccolo2d-extras-3.0.jar
|
||||
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
|
||||
|
||||
.PHONY: install-jars
|
||||
install-jars : ScrollView.jar
|
||||
|
@ -1,2 +1,2 @@
|
||||
Main-Class: com/google/scrollview/ScrollView
|
||||
Class-Path: ScrollView.jar piccolo2d-core-3.0.jar piccolo2d-extras-3.0.jar
|
||||
Class-Path: ScrollView.jar piccolo2d-core-3.0.jar piccolo2d-extras-3.0.jar jaxb-api-2.3.1.jar
|
||||
|
Loading…
Reference in New Issue
Block a user