cljfx

https://github.com/cljfx/cljfx
zilti 2020-03-22T10:49:47.082600Z

Yes, I've been using that tool for quite a while. I only used it to create a base though, to then pack it into an AppImage. I think the packaging options they provide are - pardon my French - idiotic. No ways to just create a single-file executable. But, when you just use it to create a folder with the minimum, self-contained stuff, the rest is actually easy to do with a separate script

vlaaad 2020-03-22T10:55:56.082700Z

I wouldn't call than idiotic, I think installable packages are fine for certain usecases. If you want single file executable, it's probably in the graalvm territory, which is too cutting edge right now. I know there is substrate library which does native image compiling for javafx apps, might be worth exploring: https://github.com/gluonhq/substrate

vlaaad 2020-03-22T10:56:05.082900Z

I haven't tried it though

zilti 2020-03-22T14:22:28.084900Z

I mean stuff like AppImage or DMG where everything is packed into a self-executing image. Works mighty fine by the way even with jpackage, you just have to pack up the output yourself

vlaaad 2020-03-22T20:33:15.086100Z

@zilti I've been reading jpackage's help output, and it seems it supports AppImage with --type app-image :

Generic Options:
...
  --type -t <type> 
          The type of package to create
          Valid values are: {"app-image", "rpm", "deb"} 
          If this option is not specified a platform dependent
          default type will be created.
...

zilti 2020-03-22T20:33:42.086500Z

Oh, nice! That is new then.

vlaaad 2020-03-22T22:04:23.087300Z

hmm my bad, app-image seems to be a jpackage term for intermediary results