Skip to content
Snippets Groups Projects
Commit da405537 authored by Andreas Tille's avatar Andreas Tille
Browse files

Add compile target to build.xml (no idea how that ever has build before)

parent 0a22f17b
No related branches found
No related tags found
No related merge requests found
netlib-java (0.9.3-5) UNRELEASED; urgency=medium
* Add compile target to build.xml (no idea how that ever has build before)
Closes: #923759
-- Andreas Tille <tille@debian.org> Thu, 21 Mar 2019 13:41:22 +0100
netlib-java (0.9.3-4) unstable; urgency=medium
* Deactivate watch file since in debian/README.source is declared that
......
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">
  • Contributor

    See https://salsa.debian.org/java-team/netlib-java/blob/master/nbproject/build-impl.xml#L643 and the import of nbproject/build-impl.xml a few lines above...

  • Author Maintainer

    Sorry, but I have no idea what you want to tell me. Hopefully you find a solution for the not yet fully working build.

  • Contributor

    I just commented on your statement "Add compile target to build.xml (no idea how that ever has build before)". The "compile" target was there all the time in the imported file "nbproject/build-impl.xml", so you now overwrote the "compile" target from there. I am not sure if that is what you intended here.

  • Please register or sign in to reply
+ <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}" />
update_classpath.patch
add_compile_target.patch
  • Author Maintainer

    Would you mind helping out in solving the issue discussed in Bug #923759

  • Contributor

    I think the latest proposed patch from Markus will solve this.

  • Contributor

    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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment