SHA256
1
0
forked from pool/bsf

First step to buildability with jdk9

OBS-URL: https://build.opensuse.org/package/show/Java:packages/bsf?expand=0&rev=29
This commit is contained in:
Fridrich Strba 2017-09-07 17:22:36 +00:00 committed by Git OBS Bridge
parent a48161b769
commit cc2e363758
3 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Sep 7 17:18:12 UTC 2017 - fstrba@suse.com
- Force java source and target levels to 1.6 in order to allow
building with jdk9
- Force using of java-1_8_0-openjdk-devel, since javadoc errors are
fatal in jdk9
-------------------------------------------------------------------
Sat May 20 18:41:16 UTC 2017 - tchvatal@suse.com

View File

@ -31,7 +31,8 @@ Patch0: build-file.patch
Patch1: build.properties.patch
BuildRequires: ant
BuildRequires: apache-commons-logging
BuildRequires: java-devel
# Disable this one whenever the javadoc build is fixed for jdk9
BuildRequires: java-1_8_0-openjdk-devel
BuildRequires: javapackages-local
BuildRequires: javapackages-tools
BuildRequires: rhino

View File

@ -35,7 +35,7 @@ diff --new-file -r -u bsf-2.4.0-orig/build-properties.xml bsf-2.4.0/build-proper
+ <property name="site.dest" location="docs"/>
+ <property name="site.projectFile" value="stylesheets/project.xml"/>
+
+ <property name="source.level" value="1.3" />
+ <property name="source.level" value="1.6" />
+
+ <property name="src.dir" value="src"/>
+