-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Is this project still alive? #65
Comments
I'd suggest that given this project hasn't really been updated since the release of JDK8, the answer is it is stalled (or worse). Clearly the original developers of this project are no longer developers of this project, so either new people need to step in to enliven it, or it will have to be considered dead. |
OK thanks |
Hi, I'm the one currently maintaining the project (at least the build). All I can say is that in previous months it was quite hard to support Java 9+ project with Gradle as it lacks the proper support for JPMS and Multi Release JARs for example. Some improvements have been made by the community driven java-modularity plugin. I've been meaning to get back to the build to see if the roadblocks have been sorted out. Give me a couple of days to figure this out. If all goes well we may get a release that's JavaFX11/JDK11 compatible but not necessarily JDK8 compatible. |
@aalmiray I have pulled away from the Groovy/GPars/GroovyFX community and activity, but would be happy to give a hand making GroovyFX JDK11 compatible if I am able to. GroovyFX being stuck in the JDK8 position was a bit of a death knell for it. |
@aalmiray Thanks for letting me know. I'm currently on Java 11. Also, I'm just trying to understand the purpose of this groovyfx project. I checked out what you say here: http://groovyfx.org/. I found this project a couple of days ago when I was tearing my hair out trying to understand how to get Gradle + Java11 + Groovy app and test code + JavaFX to work together (and result in a JavaFX-bundled self-contained executable). A couple of people came up with the answer (see comments here), and I will obviously be coding everything, including JavaFX, in Groovy, not Java. Yesterday I also got TestFX up and running in a first project - again using Groovy. So, I ask this as a dedicated Groovy fan, what does your project give us? From groovyfx.org it appears you can write a script without defining an Application class. Anything else? Have you in fact written it with TestFX testing in mind at all? |
Currently I use latest sources with my JavaFX project and JDK 11. I clone groovyfx repo next to my project directory and use
this seems to work well. What does not work is Can we expect |
@novakmi this project does not work with There are a few items that need to be finished before producing a release. You may use jitpack.io in the meantime to build and configure a snapshot build. Composite builds do not work with jitpack. |
@Mrodent it might shock you but personally I’d never write a JavaFX application using the script approach; I don’t find it suitable for long term development, I’d rather choose an application framework for that. There are many choices out there, the one for me is http://griffon-framework.org for obvious reasons (I’m one of the founders). Though writing views in GroovyFX is one option I’d pick a combination of FXML and scripting, as shown here http://griffon-framework.org/tutorials/4_javafx_views.html |
@aalmiray I agree with you, Groovy scripts are, I think, largely for checking stuff to do with the language. For "sys admin" tasks I personally prefer Python scripts (better than BASH in so many ways), so Groovy scripts are kind of a solution without a question for me. I don't quite know about a "framework" for JavaFX. I find it's (now) easy enough to spin up a Gradle project and do it that way. You can also include TestFX (testfx-spock is my preference) for the testing classes. Standalone SceneBuilder for the FXML. So I don't seem to need any framework currently. Again, for this reason I don't understand the purpose of groovyfx. NB jlink is not going to be compatible with Groovy for a very long while: even Groovy 3 cannot handle Java 9+ modules. It appears this is an "aspiration" for Groovy 4... (!) |
@aalmiray Thanks for |
I just had a look at that griffon link. Thanks, that was interesting. |
I evaluated this project in 2016, but ended up deciding to go with straight Java (at least initially). At the time I was especially interested in the binding support annotations -- and I still am -- I think they would be useful as a separate module. They could be especially powerful if they can be made compatible with These days I'm using JDK 15 (and planning to move to JDK 16 asap) with JavaFX 11 and am using the B.A. JLink Plugin to build native bundles and everything is as friendly to Java Module System as possible. (I'm also using Supernaut.FX for lightweight DI). My (admittedly self-interested) advice is to require Groovy 4 or later for the GroovyFX version 11 that is currently under development. I'm spread way too thin ("my side projects have side projects" 😂) but if work were started on the binding support annotations using Groovy 4, I would at least take them for a test drive and possibly be able to contribute in minor ways. |
I see the latest commit dates from 2019-07-30, so I'm full of hope.
I just included this as a dependency in build.gradle:
implementation 'org.groovyfx:groovyfx:8.0.0'
./gradlew build gives:
I go to Maven Central: it appears to be there. Baffled.
Then I see here that you say there is a newer version, 9.0.0 snapshot (not a release). I try this, I also try jcenter instead of maven central. All attempts fail.
I see it is possible to download the 8.0.0. jar from maven central. Done that. I am also cloning the latest commit, on the assumption that this is your latest stable snapshot...
oops: after cloning, and ./gradlew build, fails:
Please let me know what's going on with this project & why maven central is not working.
The text was updated successfully, but these errors were encountered: