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.
javafx:run goal from the javafx-maven-plugin is used to run an application on the desktop. While this works for most cases, there is an overhead for the user where they need to define the correct Attach dependencies for the project while running on desktop.
For example, if we check the HelloGluon sample, a profile needs to be created for Desktop and all Attach dependencies with classifier as desktop needs to be added to the profile. Where as the same is not required for targets like Android and iOS.
To overcome this, my proposal is to create a new goal in the client plugin which can take care of correct Attach dependencies and supersedes the call to javafx:run.
The perfect candidate for this new goal would be client:run, however, since we already have the goal to run native image. Therefore, my proposal also includes to rename the existing client:run goal to client:nativerun.
The text was updated successfully, but these errors were encountered:
javafx:run
goal from thejavafx-maven-plugin
is used to run an application on the desktop. While this works for most cases, there is an overhead for the user where they need to define the correct Attach dependencies for the project while running on desktop.For example, if we check the HelloGluon sample, a profile needs to be created for Desktop and all Attach dependencies with classifier as
desktop
needs to be added to the profile. Where as the same is not required for targets like Android and iOS.To overcome this, my proposal is to create a new goal in the client plugin which can take care of correct Attach dependencies and supersedes the call to
javafx:run
.The perfect candidate for this new goal would be
client:run
, however, since we already have the goal to run native image. Therefore, my proposal also includes to rename the existingclient:run
goal toclient:nativerun
.The text was updated successfully, but these errors were encountered: