hi everybody! I'm using org.kordamp.ikonli/ikonli-javafx
for icons and they are great, but they provide two different versions of the lib for jdk8 and jdk11 so I can choose only one in my deps.edn and then it only works for one of the versions, which is inconvenient.
I currently have a workaround with two aliases that the user needs to add to execute the app, like :
clj -A:jdk11 -Sdeps...
clj -A:jdk8 -Sdeps...
Any ideas if this can be simplified somehow?
Also what is the best approach to release a cljfx app so it is simple for a user and works on multiple jvm version? jar, fatjar, clojars and clj cli ?
there is maven stuff called "activation profiles" that allows picking different deps based on jdk version, I used that in cljfx to make it work both on java 8 and java 11
Is it a desktop app? Are you sure you need different JVM versions support? You can package the JVM with app, there is an example how to do that: https://github.com/cljfx/hn
oh nice, thanks for that! will try them
also thanks for the awesome lib, I was able to migrate a project written in re-frame to cljfx pretty easy
yes it is a desktop app like reveal
will check that also, thanks!
reveal is not a regular desktop app, because the target audience is clojure developer that runs it in the developed process..
for Reveal it makes sense to distribute it via clojars, since "installation" is naturally done by specifying dev-time deps
woah, that's amazing! how big is it?
it is this debugger here https://github.com/jpmonettas/flow-storm-debugger
I just finished migrating all that and more to cljfx, and working on a way to release it now
ah, that's super cool
I was thinking about trying to write a custom reveal ui for that
have you considered that? 🙂
it will allow further inspections of debugged values, e.g. not only pprint/layers/calls, but inspecting every value in there
yeah I have been thinking a lot about integrating both projects
so my plan is to release this version which is pure cljfx, then polish it (I'm already using it in my daily job) and then think more on that
👍
but any ideas are welcome!
do you have plans for supporting clojurescript repls in reveal?
they are already supported to some extent with remote prepls: https://vlaaad.github.io/reveal/#remote-prepl
oh nice!
it is not going to be announced until I use this version for some days but here it is https://github.com/jpmonettas/flow-storm-debugger the cljfx version!