Re: No answer to this - do you have any idea? [andreas@an3as.eu: How to announce commons.io in gradle build]
On 10/15/2018 09:44 AM, Andreas Tille wrote:
> Hi Olivier,
>
> sorry for the private ping, but may be you have an idea how to
> build igv?
Hi,
after lots of fixes, I could get igv build (and had to make a few
updates to d/bin/igv too)
however, I removed the Java 9 module support for igv itself.. Could not
make it build to provide igv as a module, only as a "old" lib/bin
could not test due to x11 pb, but it builds and do not complain on
missing libs.
I pushed all my updates
Olivier
>
> Kind regards
>
> Andreas.
>
> ----- Forwarded message from Andreas Tille <andreas@an3as.eu> -----
>
> Date: Mon, 1 Oct 2018 21:59:48 +0200
> From: Andreas Tille <andreas@an3as.eu>
> To: 895765@bugs.debian.org, Debian Java List <debian-java@lists.debian.org>
> Subject: How to announce commons.io in gradle build
>
> Hi,
>
> igv upstream has switched the build system to gradle and provides
> specific java9 gradle input file. I probably did not found the most
> elegant way to choose this[1] but it should at least work. I wonder
> how I should announce common classes that are not found in
>
> ...
> Compiling with JDK Java compiler API.
> /build/igv-2.4.14+dfsg/src/main/java9/module-info.java:96: error: module not found: com.google.common
> requires com.google.common;
> ^
> /build/igv-2.4.14+dfsg/src/main/java9/module-info.java:97: error: module not found: commons.io
> requires commons.io;
> ^
> /build/igv-2.4.14+dfsg/src/main/java9/module-info.java:98: error: module not found: commons.math
> requires commons.math;
> ^
> /build/igv-2.4.14+dfsg/src/main/java9/module-info.java:100: error: module not found: gson
> requires gson;
> ^
> /build/igv-2.4.14+dfsg/src/main/java9/module-info.java:110: error: module not found: javafx.base
> requires javafx.base;
> ^
> /build/igv-2.4.14+dfsg/src/main/java9/module-info.java:111: error: module not found: javafx.controls
> requires javafx.controls;
> ^
> ...
>
> since I can not find these in the said *.gradle files and thus have no
> idea how to replace the upstream delivered jar file by the Debian
> packaged file. The according Build-Depends are (hopefully) properly
> set.
>
> Kind regards
>
> Andreas.
>
> [1] https://salsa.debian.org/med-team/igv/commit/1fd85b5d63a43613ee39f7915278e35787438aa2
>
--
gpg key id: 4096R/326D8438 (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
Reply to: