[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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?
I could fix the log4j issue, igv makes use of log4j v1, had to add log4j
2 bridging. Now it is ok, but new errors appears with Javafx.

Don't really know how to fix this, I see openjfx has 2 jars , one empty
and an other with -linux extension. Seems to be the one needed in our
case, but I have no idea how to include it

In gradle it include
/usr/share/maven-repo/org/openjfx/javafx-graphics/debian/javafx-graphics-debian.jar,
not
/usr/share/maven-repo/org/openjfx/javafx-graphics/debian/javafx-graphics-debian-linux.jar.
But gradle manage this alone.... :-( I only specify a module, not a jar
file.
Maven seems to manage the archivetecture, but not gradle for modules.

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: