Accepting request 526059 from Java:packages

Fix build with java 9

OBS-URL: https://build.opensuse.org/request/show/526059
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache-commons-io?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2017-09-14 19:19:04 +00:00 committed by Git OBS Bridge
commit 6c1e5c8df5
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 14 11:39:40 UTC 2017 - fstrba@suse.com
- Fix build with jdk9 by specifying source and target level 1.6
-------------------------------------------------------------------
Sun May 21 07:52:44 UTC 2017 - tchvatal@suse.com

View File

@ -59,7 +59,9 @@ sed -i -e 's/.$//' *.txt
export OPT_JAR_LIST="junit"
export CLASSPATH=
CLASSPATH=target/classes:target/test-classes:$CLASSPATH
ant -Dbuild.sysclasspath=only dist
ant -Dcompile.source=1.6 -Dcompile.target=1.6 \
-Dbuild.sysclasspath=only \
dist
%install
# jars