Re: javafx-maven-plugin eclipse java version

2021-03-29 Thread Tom Eugelink
Interesting. Is anyone monitoring the plugin repo? On 2021-03-28 13:12, Tom Eugelink wrote: Added toolchains support to javafx-maven-plugin and created a PR. https://github.com/openjfx/javafx-maven-plugin/pull/118 So you can do: org.apache.maven.plugins maven-toolchains-plugin 3.0.0 tool

Re: javafx-maven-plugin eclipse java version

2021-03-28 Thread Tom Eugelink
Added toolchains support to javafx-maven-plugin and created a PR. https://github.com/openjfx/javafx-maven-plugin/pull/118 So you can do: org.apache.maven.plugins maven-toolchains-plugin 3.0.0 toolchain ${maven.compiler.release} That will make sure the same JDK is used for compilin

Re: javafx-maven-plugin eclipse java version

2021-03-27 Thread Tom Eugelink
The plugin has an executable option which can refer to the java executable. Per it uses the system default, which apparently is different between my bash and the shell that eclipse uses. If I hard code the correct path, it works correctly. But a hardcoded path is not okay, so I'm going to try

Re: javafx-maven-plugin eclipse java version

2021-03-27 Thread Tom Eugelink
It is a maven goal to start a javafx application with all the native stuff setup correctly. https://openjfx.io/openjfx-docs/#maven I have not configured an direct Eclipse run, because that is more work with defining the native librars and stuff, while I should just be able to run the maven goa

Re: javafx-maven-plugin eclipse java version

2021-03-26 Thread Nir Lisker
What is "javafx:run"? If you run it from within Eclipse (the green "play" button), does it work? On Fri, Mar 26, 2021 at 10:08 AM Tom Eugelink wrote: > To prevent me from going on a long search-and-rescue, I figured I'd post a > small question here. > > I'm trying to run an application with the