cljfx

https://github.com/cljfx/cljfx
sundbp 2019-04-09T09:27:35.120600Z

Explicitly depend on the win classifier version of javafx works

sundbp 2019-04-09T09:28:13.121800Z

@vlaaad OK. Will experiment with both editable and placing an input in the cell approaches. Agree the latter seems cleaner.

vlaaad 2019-04-09T09:29:49.121900Z

@lilactown it's not documented, think I'll write a doc sometime since it looks like a recurring theme

sotrhraven 2019-04-09T14:35:02.123200Z

I get a class not found exception on :require. Using clojure 1.10, openJDK 11.0.2

vlaaad 2019-04-09T14:35:45.123300Z

Can you show your exception/stacktrace?

sotrhraven 2019-04-09T14:39:08.123600Z

nREPL server started on port 34805 on host 127.0.0.1 - <nrepl://127.0.0.1:34805> REPL-y 0.4.3, nREPL 0.6.0 Clojure 1.10.0 OpenJDK 64-Bit Server VM 11.0.2+9 Docs: (doc function-name-here) (find-doc "part-of-name-here") Source: (source function-name-here) Javadoc: (javadoc java-object-or-class-here) Exit: Control+D or (exit) or (quit) Results: Stored in vars *1, *2, *3, an exception in *e cljfx-test.core=> (:require [cljfx.api :as fx]) Syntax error (ClassNotFoundException) compiling at (form-init16776446269092105039.clj:1:1). cljfx.api

2019-04-09T14:41:09.124200Z

That's ns syntax, you want (require '[cljfx.api :as fx]) at the REPL

1👍
sotrhraven 2019-04-09T14:42:30.124900Z

you have to quote it that works.

sotrhraven 2019-04-09T14:42:59.125500Z

That is not in the minimal example on the github readme.

sotrhraven 2019-04-09T14:45:31.125800Z

so just in the REPL got it

vlaaad 2019-04-09T14:48:56.125900Z

You mean this one?

(ns example
 (:require [cljfx.api :as fx]))

sotrhraven 2019-04-09T14:49:12.126100Z

yes

sotrhraven 2019-04-09T14:49:18.126300Z

I am new so

vlaaad 2019-04-09T14:50:46.126500Z

Yeah, this syntax works only inside (ns ...)