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
I am trying to use FXLauncher to build a launcher for my JavaFX application using Gradle. My build.gradle file current looks like this (Note: The actual URLs and domain names have been removed):
Unfortunately, I am running into an issue when I try to run the Gradle deployApp task, which I do as follows:
./gradlew clean deployApp
That task actually runs fine because a build/fxlauncher directory is generated with all the artifacts and dependencies for the application inside of it, but when fxlauncher attempts to perform the SCP I see this error:
Execution failed for task ':deployApp'.
> scp exited with status 1
To verify that SCP was installed and working on my machine I copied a test file to the folder on my server and that worked without any issues. I then tried adding the scpOptions option to the build.gradle file, but no "verbose" output is displayed. I think if you can help me get that working, then I should be able to figure out the rest on my own. Thank you in advance.
The text was updated successfully, but these errors were encountered:
I have uploaded a new snapshot that should output the actual scp command it runs. Can you try with '1.0.18-SNAPSHOT'? Snapshots are published to sonatype:
Thanks @edvin. That updated artifact, this other issue here edvin/fxlauncher#23, and running this command ssh-add ~/.ssh/id_rsa before performing the deployApp Gradle task fixed the issue I was having. Everything gets copied to my server successfully.
Hi edvin,
I am trying to use FXLauncher to build a launcher for my JavaFX application using Gradle. My build.gradle file current looks like this (Note: The actual URLs and domain names have been removed):
Unfortunately, I am running into an issue when I try to run the Gradle deployApp task, which I do as follows:
That task actually runs fine because a build/fxlauncher directory is generated with all the artifacts and dependencies for the application inside of it, but when fxlauncher attempts to perform the SCP I see this error:
To verify that SCP was installed and working on my machine I copied a test file to the folder on my server and that worked without any issues. I then tried adding the scpOptions option to the build.gradle file, but no "verbose" output is displayed. I think if you can help me get that working, then I should be able to figure out the rest on my own. Thank you in advance.
The text was updated successfully, but these errors were encountered: