-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task jfxJar depends on 'deploy' directory. #11
Comments
Digging deeper, the crash is actually caused by the |
This plugin was made using gradle 2.10, could you check using that version? |
It doesn't crash on 2.10. It builds the jar, but I found another issue with it packaging dependencies. |
@horfius Hi, thanks for the report. I'll check if I can push some changes to make it work with some older Gradle-version. Let me some time to figure out, what happened ... it's strange that some dependencies aren't there ... but still getting their path. |
Just to make sure it hasn't something to do with gradle-version conflicts: could you try to delete that cache-folder? |
So I deleted the cache and it still has the same issue. The files do exist, but the error actually exists in your tasks. |
That doesn't change anything, the problem currently is that the dependency-file claims to not be existing:
is it possible that there are some problems with the user running the build-process? Maybe that user isn't able to read that files (permissions or something like that). |
I am seeing this same statement in the logs: :app:jfxJar |
@purringpigeon that's nothing to be concerned about, it just says that the folder wasn't existing, it has nothing to do with the dependencies. That folder |
@horfius Are you running your gradle-build with the |
No, I am not running with --daemon. |
If you are running from within an IDE such as NetBeans or Eclipse you would be using the daemon.
|
When running either jfxJar or jfxNative tasks, I get this output:
5:50:47 PM: Executing external task 'jfxNative'...-
-
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:jar UP-TO-DATE
:jfxJar
Adding 'deploy' directory wasn't successful, because it does not exist! (C:\Users\horfi\Documents\FRCSmartDashboard\src\main\deploy)
:jfxJar FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':jfxJar'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 0.262 secs
org.gradle.api.Project.copy(Lorg/gradle/api/Action;)Lorg/gradle/api/tasks/WorkResult;
5:50:48 PM: External task execution finished 'jfxNative'.
There seems to be documentation missing for what should go into deploy. It resides in
src/main/
but it is not detailed what should be there.The text was updated successfully, but these errors were encountered: