-
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
java.nio.file.NoSuchFileException when running jfxNative in Windows #130
Comments
You might need to adjust the order of the projects depending on each other. To avoid some misconfiguration, please use |
Thank you very much for you fast response. I am not very experienced in gradle, so if it isn't a problem for you, could you explain a bit more what you mean with "adjust the order of the projects" and how should I use What I had in mind is craete a task that runs before jfx, but I am not sure how to accomplish this and also when I add any dependsOn to the jfx task it says that it can't find the task it should depend to |
Aditionally, what do you mean with "detecting missing jfx-classes"? What kind of classes could be missing, for example custom components? |
Gradle maintains it's own order of processing your build-instructions. As they (the authors of Gradle) think that they do know better, they are giving you a way for controlling the ordering, you might want to lookup this inside the documentation: https://docs.gradle.org/current/userguide/build_lifecycle.html Regarding the detection: when a java class gets instanciated, all So in order to have the tasks being available as buildscript extensions, I rewrote some parts after that evaluation-process happened,, but changed that approach in later versions of this plugin, because it made a lot of trouble. Just a small reminder: #119 |
@frnusmartobjects any progress on your side? |
@FibreFoX Hi, thanks for the follow up. Not for now. I decided to run the jar task manually for each project since I am a bit short in time, although when I have more time I will investigate how to automate this, and I will post here the followup |
I am developing in Windows 10, using IntelliJ IDEA 2018.2.1, JDK version jdk1.8.0_181
I have a multimodule project and whenever I try to run the
jfxNative
task to generate a native Windows bundle I am getting for each module an error such asMy jfx task is as follows:
I've read issue #12 and the person there has the same problem except that I am having it while running no matter how: In the IDE, using gradlew with daemon or using gradlew without daemon.
The only way I have to fix this is going to each individual project and running the jar task. Is this the standard way of doing it or is it a bug?
The text was updated successfully, but these errors were encountered: