clj-on-windows

For those interested in making clj on Windows https://dev.clojure.org/jira/browse/TDEPS-67. Also see https://github.com/littleli/scoop-clojure.
fabrao 2020-06-19T02:44:10.130700Z

hello all, how do I call a function from user namespace when start clj -A:socket ?

seancorfield 2020-06-19T03:40:05.131300Z

((requiring-resolve 'user/whatever) :some :args) like that?

seancorfield 2020-06-19T03:40:22.131700Z

Just the same as any other function in any other namespace.

seancorfield 2020-06-19T03:40:28.131900Z

^ @fabrao

seancorfield 2020-06-19T03:40:56.132300Z

Perhaps you can explain a bit more about what you're actually trying to do?

fabrao 2020-06-19T12:49:34.133300Z

Hello Sean, I could do it with

{:repl {:extra-paths ["dev"]
                  :extra-deps {org.clojure/tools.namespace {:mvn/version "0.2.11"}}
                  :jvm-opts ["-Dclojure.server.repl={:port,5555,:accept,clojure.core.server/repl}"]}}
and run clj -A:repl -e '(iniciar)' -r -> iniciar is the function I´ve wanted to call

seancorfield 2020-06-19T16:34:50.133800Z

@fabrao So you've answered your own question? Or do you still have a question?

fabrao 2020-06-19T16:36:06.135Z

I've answered my own question. Thanks

1