From 9d84968d71ec437ffd87d2db1bb8cc56553f39b3 Mon Sep 17 00:00:00 2001 From: Quan Nguyen <nguyenq87@gmail.com> Date: Wed, 10 Oct 2018 10:42:39 +0200 Subject: [PATCH] fix building of ScrollView.jar with modern java version; fixes #1289 --- java/Makefile.am | 6 ++++-- java/Manifest.txt | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/java/Makefile.am b/java/Makefile.am index 982bd81f51..ed45847c21 100644 --- a/java/Makefile.am +++ b/java/Makefile.am @@ -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 diff --git a/java/Manifest.txt b/java/Manifest.txt index bc0b707bd8..2dbf82f85f 100644 --- a/java/Manifest.txt +++ b/java/Manifest.txt @@ -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