Files
ports/java/jgraphx/files/patch-build.xml
T
Ronald Klop 6a6eca9040 java/jgraphx: unpin openjdk8
Builds fine with modern JDK.
Dependency math/scilab uses openjdk8 so this needs to generate
Java 8 compatible class files.

Approved-by:	no maintainer
2026-04-09 07:36:45 +02:00

31 lines
968 B
XML

# math/scilab needs java 8 compatible classes
--- build.xml.orig 2026-04-08 19:59:20 UTC
+++ build.xml
@@ -60,6 +60,8 @@ -->
debug="${compile.debug}"
deprecation="${compile.deprecation}"
optimize="${compile.optimize}"
+ source="8"
+ target="8"
destdir="${basedir}/classes">
<classpath>
<pathelement path="${basedir}/classes"/>
@@ -75,6 +77,7 @@ -->
classpath="${basedir}/classes"
destdir="${basedir}/docs/api"
use="true"
+ source="8"
author="false"
version="false"
windowtitle="${product.name} ${product.version} API Specification"
@@ -152,6 +155,8 @@ -->
<target name="example" depends="build" description="Compiles the examples">
<javac srcdir="${example.home}" debug="${compile.debug}" deprecation="${compile.deprecation}"
+ source="8"
+ target="8"
optimize="${compile.optimize}" destdir="${example.home}">
<classpath>
<pathelement path="${basedir}/lib/${all.jar}"/>