Re: native libs in modules

2018-05-03 Thread Paul Ray Russell
>* I'm thinking about this issue now because I quite like JavaFX and its *>* future is clearly as a regular Java library, albeit a big one, distributed *>* either via (not ideal) an SDK or (better) a set of regular libraries *>* published to a Maven repository. *> +1 for this. (-1 for cross

Re: native libs in modules

2018-05-02 Thread Johan Vos
FYI, the native-libs-in-mods issue is being discussed on the panama-dev list as well: http://mail.openjdk.java.net/pipermail/panama-dev/2018-April/001543.html - Johan On Tue, May 1, 2018 at 6:01 PM Kevin Rushforth wrote: > > > On 4/30/2018 8:58 AM, Michael Paus

Re: native libs in modules

2018-05-01 Thread Kevin Rushforth
[including Alan and Mandy] This came up briefly in a thread sent to jigsaw-dev [1], but with no real conclusion. I agree that it would be good to get a recommendation from the Jigsaw team. After thinking about it more, here are my preferences: * From the developer's point of view, they

Re: native libs in modules

2018-05-01 Thread Johan Vos
I'd love to hear a general recommendation from the jigsaw team as well. Clearly, there are a number of solutions, and as a developer, I easily get confused if some frameworks do it with option A and others with option B. So what is the preferred approach in general? It seems (given the large size

Re: native libs in modules

2018-04-30 Thread Phil Race
You are describing the situation today and making it into a contract. You need to be sure that it is policed and enforceable. Meaning there need to be tests to ensure it stays that way and that it is not an unreasonable constraint on changes in the platform. Also what if anything do the jigsaw

Re: native libs in modules

2018-04-30 Thread Kevin Rushforth
The native libraries are quite large -- especially jfxwebkit -- and it does seem better to have per-platform jar files, at least for the native libraries. The following modules could be platform-independent since they have no natives: javafx.base javafx.controls javafx.fxml javafx.swing We

Re: native libs in modules

2018-04-30 Thread Paul Ray Russell
>I'm not sure I understand the question about platform-specific jar files, Last time I worked on native specifics (which was to package up RXTX dlls for different OSs / in 64/32 bit) The easiest solution for pure Maven builds seemed to be, to package DLLs inside a jar. We then used a profile to

Re: native libs in modules

2018-04-30 Thread Johan Vos
subject or body 'help' to > >> openjfx-dev-requ...@openjdk.java.net > >> > >> You can reach the person managing the list at > >> openjfx-dev-ow...@openjdk.java.net > >> > >> When replyin

Re: native libs in modules

2018-04-30 Thread Michael Paus
Am 30.04.18 um 17:29 schrieb Kevin Rushforth: One thing to note is that unlike the JDK build, all class files for Windows, Linux, and Mac are set up to be built (but not shipped) on all three platforms, so it might be possible to create a jar file that would be the same on all three platforms.

Re: native libs in modules

2018-04-30 Thread Glenn Holmer
On 04/30/2018 10:12 AM, Michael Dever wrote: > What IDE are you all using. > Clearly, it can't be Netbeans. > That's still stuck on Java 8. http://netbeans.apache.org/download/index.html -- Glenn Holmer (Linux registered user #16682) "After the vintage season came the aftermath -- and Cenbe."

Re: native libs in modules

2018-04-30 Thread Kevin Rushforth
t;Re: Contents of openjfx-dev digest..." Today's Topics: 1. native libs in modules (Johan Vos) 2. WaitForPaintPulse (Tom Eugelink) 3. Re: native libs in modules (Philip Race) -- Message: 1 Date: Sun, 29 Apr 2018

Re: native libs in modules

2018-04-30 Thread Michael Dever
What IDE are you all using. Clearly, it can't be Netbeans. That's still stuck on Java 8. On Apr 29, 2018, at 1:05 PM, Johan Vos wrote: Now that the OpenJFX SDK that works with Java 11 is about to be released in EA, we should think about releasing the modules. In case

Re: native libs in modules

2018-04-30 Thread Paul Ray Russell
it your Subject line so it is more specific > than "Re: Contents of openjfx-dev digest..." > > > Today's Topics: > >1. native libs in modules (Johan Vos) >2. WaitForPaintPulse (Tom Eugelink) >3. Re: native libs in modules (Philip Race) > > >

Re: native libs in modules

2018-04-29 Thread Philip Race
On 4/29/18, 10:05 AM, Johan Vos wrote: Now that the OpenJFX SDK that works with Java 11 is about to be released in EA, we should think about releasing the modules. In case you download the OpenJFX SDK, running an app goes like java --module-path $OPENJFXSDK/lib --add-modules javafx.controls