Hey i'm also trying to package a app but couldn't ...
# tornadofx
a
Hey i'm also trying to package a app but couldn't get it running even looking at the sources from @darkmoon_uk. Maybe someone could help me to change this simple example from (https://github.com/beryx-gist/badass-runtime-example-javafx) to also use kotlin and tornadofx?
d
How did you try to run it; @albrechtroehm?
Use the
application:run
Gradle task as this allows the javafx plugin to put the runtime components on the classpath.
If you're using IntelliJ, the basic built-in IDE Run/Debug doesn't do this, but you can get the same convenience by just defining a Gradle-task configuration and doing Run/Debug on that.
a
Thanks @Torbilicious looks like this i didn't look through the examples very well ... This looks like example what i need.
@darkmoon_uk I think i did use the application:run i could run everything fine but packing everything together and running on another machine did go well.
With the examples Torben showed me, ill give it another try!
@Torbilicious Is there any difference in these plugins if i use only kotlin code? If i understand it correctly the plugins are for non-/modularied java projects?
Thanks for all the helps and hints, i finally got it to work!
t
Correct they are differentiated for non-/modularized projects