I cannot really understand why this is the case. I...
# tornadofx
n
I cannot really understand why this is the case. I have installed
JDK 13
and
Open JFX
but when I create a tornadofx project using IntelliJ plugin, it keeps failing.
a
You need to provide the error message. Some portions of tornado does not work on Java 9+, but I think you have problem not with tornado, but with basic build configuration for javafx. You can use https://github.com/openjfx/javafx-gradle-plugin.
r
Are you using the 2.0 snapshot?
a
No, I can't use 2.0 before it is snapshot, I use primary version, just avoid things that do not work.
r
TornadoFX 1.* Is not compatible with Java 9+. If you want to use Java 9+, you need to use TornadoFX 2, which is currently in snapshot only due to lack of testing. It should be fully functional and stable.
a
TorandoFX 1.* is not FULLY compatible with java 9, but one can use it if he avoids specific methods. I would gladly use tornado 2, but I can't use snapshots. I develope libraries and some tools which are not meant to be actively maintained, so I can't use dependencies without stable version. I mean that I can refenrece dev builds, but the build itself should not change over time.
So please-please, publish it already.
Also, tornado is huge. Edvin promised that there will be modularization. I would like it as well.
As for dev dependencies, we are doing it the same way Kotlin does, we have dev repository for builds with
dev
in the name: https://bintray.com/mipt-npm/dev and publishing repository, so one can clearly see which version he is using, but each dev version is permanent nontheless.
s
No problems with java13+javafx13+Idea+Kotlin+tornadofx-2. just configure javafx like here - https://openjfx.io/openjfx-docs/#IDE-Intellij. and it works even w/o
Copy code
--module-path ... --add-modules ...
when run it as kotlin, unlike tornadofx App/View run
b
that will be fun the day you want to package as well