You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to natively run with gluonfx-gradle-plugin on exemple project : https://github.com/gluonhq/gluon-samples/tree/master/HelloFXML
NativeRunAgent can't generate all file config. After run I obtain only one file : META-INF.native-image.filter-file.json
Project can't run because reflectionList config wasn't generate at all.
Same projet, and same config with gluon-maven-plugin runAgent create much more file configuration and project nativeBuild-nativeRun correctly without manual configuration.
Version :
id 'org.openjfx.javafxplugin' version '0.0.13'
id 'com.gluonhq.gluonfx-gradle-plugin' version '1.0.14'
Hmm, can you try adding a module-info descriptor?
It looks like the nativeRunAgente task of the gradle plugin fails for non-modular applications.
@abhinayagarwal It seems that with non-modular projects, the JavaFX plugin overrides the JVM arguments and therefore it is failing to add the -agentlib string which explains why there are no files under META-INF/native-agent.
Hello. I have module-info descriptor and it doesn't work as well as described by @RGuyard.
Tried with
'org.openjfx:javafx-plugin:0.0.13' and
"com.gluonhq:gluonfx-gradle-plugin:1.0.15"
Same time 'nativeBuild' works perfectly well and no problems there.
Hello,
When I try to natively run with gluonfx-gradle-plugin on exemple project :
https://github.com/gluonhq/gluon-samples/tree/master/HelloFXML
NativeRunAgent can't generate all file config. After run I obtain only one file : META-INF.native-image.filter-file.json
Project can't run because reflectionList config wasn't generate at all.
Same projet, and same config with gluon-maven-plugin runAgent create much more file configuration and project nativeBuild-nativeRun correctly without manual configuration.
Version :
The text was updated successfully, but these errors were encountered: