Thank you Kurt for your reply. I have to look more detailed into this.

I'm quite new to FreeBSD on the one hand an the gradle build tool on the other hand. (And gradle is what is used by openjfx)

What I understood currently is that gradle downloads the dependencies only for building the package. To run a application, the dependencies have to be installed, otherwise the application will crash with some exceptions (in case of Java). So there seems to be a difference between FreeBSD ports and dependencies to the build process. Why does the ports system not build and install the dependencies firstly and use those installed packages for the further build process? They will be needed anyway for the completely build package...

Or maybe I am missing a important point...

regards,
Jochen


Am 06.03.2017 um 18:55 schrieb Kurt Jaeger:
Hi!

currently I'm developing a email client using OpenJDK8 and openJFX8 (and
of course javamail) under FreeBSD 11 STABLE.

Interesting.

I'd like to use the HTMLEditor widget, which is part of the JavaFX
framework, but not running under the above mentioned configuration, as
openjfx does not compile against webkit (or parts of it). There are more
such artifacts, as for example MP3 player widget, which needs gstreamer.
Obviously, those dependencies are defined for the package, but not
included by the gradle build script for FreeBSD. This might be, because
of some maven repositories, as e.g. webview
(https://repo1.maven.org/maven2/com/sun/webkit/webview-deps/1.3/) having
no FreeBSD definition files.

From what I understand: If you have java code that needs to be compiled
using maven, maven automagically fetches dependencies from
the maven repos out there.

The problem for a freebsd port is: during the build phase not
'fetch from extern' is allowed, so we need to explicitly name
the distfiles to be fetched before, which breaks a lot of the
maven assumptions and is a mess to maintain.

Are there any plans to include full openjfx support in the next FreeBSD
release or any integration for the upcoming OpenJDK9?
Maybe is there
already support in CURRENT? Is there any political reason not to include
those packages (license,..)?

The problem is the build process in the ports framework.

If someone would integrate the fetch-distfile process of maven
in the ports framework, all those java codes build using maven
would be become much more simpler to maintain.

See the discussion in

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188110#c37

and followups.


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus

_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to