Accepting request 522229 from Java:packages

Fix build with java 9

OBS-URL: https://build.opensuse.org/request/show/522229
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hsqldb?expand=0&rev=22
This commit is contained in:
Dominique Leuenberger 2017-09-13 20:19:43 +00:00 committed by Git OBS Bridge
commit cb8761e410
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 8 06:50:36 UTC 2017 - fstrba@suse.com
- Specify java source and target version 1.7 in order to allow
build with jdk9
-------------------------------------------------------------------
Fri May 19 11:49:45 UTC 2017 - mpluskal@suse.com

View File

@ -123,7 +123,7 @@ sed -i -e 's|doc/apidocs|%{_javadocdir}/%{name}|g' index.html
export CLASSPATH=$(build-classpath servletapi5 junit)
pushd build
export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
export JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8 -Dant.build.javac.source=1.7 -Dant.build.javac.target=1.7"
ant hsqldb javadoc
popd