Fix build with java9
OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-io?expand=0&rev=15
This commit is contained in:
parent
588e6ff7a0
commit
73083c9eac
@ -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
|
Sun May 21 07:52:44 UTC 2017 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -59,7 +59,9 @@ sed -i -e 's/.$//' *.txt
|
|||||||
export OPT_JAR_LIST="junit"
|
export OPT_JAR_LIST="junit"
|
||||||
export CLASSPATH=
|
export CLASSPATH=
|
||||||
CLASSPATH=target/classes:target/test-classes:$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
|
%install
|
||||||
# jars
|
# jars
|
||||||
|
Loading…
x
Reference in New Issue
Block a user