Add compile target to build.xml (no idea how that ever has build before)
debian/patches/add_compile_target.patch
0 → 100644
Description: Add compile target to build.xml (no idea how that ever has build before) | ||
Bug-Debian: https://bugs.debian.org/923759 | ||
Author: Andreas Tille <tille@debian.org> | ||
Last-Update: Thu, 21 Mar 2019 13:41:22 +0100 | ||
--- a/build.xml | ||
+++ b/build.xml | ||
@@ -2,6 +2,7 @@ | ||
<project name="org.netlib" default="default" basedir="."> | ||
<description>Builds, tests, and runs the project org.netlib.</description> | ||
<property name="version" value="0.9.3" /> | ||
+ <property name="src.dir" value="src"/> | ||
<!-- REMINDER: When bumping the version value, also bump the value in jni/configure --> | ||
<import file="nbproject/build-impl.xml"/> | ||
@@ -23,6 +24,12 @@ | ||
</delete> | ||
<delete dir="jni/ARPACK"/> | ||
</target> | ||
+ <target name="compile" description="compiles netlib code"> | ||
|
||
+ <javac srcdir="${src.dir}" | ||
+ sourcepath="${src.dir}" | ||
+ debug="true"> | ||
+ </javac> | ||
+ </target> | ||
<target name="generate" depends="compile"> | ||
<!-- Autogenerate the Java and C files --> | ||
<java fork="yes" classname="org.netlib.generate.JavaGenerator" classpath="${run.classpath}" /> |
-
Would you mind helping out in solving the issue discussed in Bug #923759
-
I gave it a try via the merge-request at !2 (merged), the patch did not yet work and I added two other patches that should make it work with JDK 11 on bare Buster now.
Edited by Dominik Stadler