Hi Mechtilde,

check main/saxton/saxton-9.0.0.7-bj.patch

line 147 and 148

+    <property name="build.compiler.source" value="1.4"/>
+    <property name="build.compiler.target" value="1.4"/>

all the best
Peter

On 07.12.20 07:48, Mechtilde wrote:
Hello,

Con someone give me a hint where and how can I change the source option
and the target option for the Java version.

Kind regards

Mechtilde

Am 06.12.20 um 13:57 schrieb Mechtilde:
Hello,

i was asked to text the PR 109 https://github.com/apache/openoffice/pull/109

I tried to do it under Debian 10.

gcc 8.3
java 11

I didn't have a running system wizh gcc >=7 and Java 8

I get this error message

compile-bj:
/home/mechtilde/openoffice/main/saxon/unxlngx6.pro/misc/build/src/build.xml:385:
  warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last
; set to false for repeatable builds
Compiling 834 source files to
/home/mechtilde/openoffice/main/saxon/unxlngx6.pro
/misc/build/src/temp/j/classes
warning: [options] bootstrap class path not set in conjunction with
-source 1.4
error: Source option 1.4 is no longer supported. Use 6 or later.
error: Target option 1.4 is no longer supported. Use 1.6 or later.

BUILD FAILED
/home/mechtilde/openoffice/main/saxon/unxlngx6.pro/misc/build/src/build.xml:385:
Compile failed; see the compiler error output for details.

Total time: 2 seconds
dmake:  Error code 1, while making
'./unxlngx6.pro/misc/build/so_built_saxon'

So, epm, beanshell, hsqldb, rhino, apache-common and bean can't be build.

If you need more inforamtione please give me a hint.

Kind regards


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to