Fix build with java 9
OBS-URL: https://build.opensuse.org/package/show/Java:packages/hsqldb?expand=0&rev=24
This commit is contained in:
parent
cea757d44b
commit
60b4b8ff62
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user