clj-on-windows 2020-04-19

Anyone know how to properly escape this in powershell

clojure -J-Dclojure.server.repl="{:port 5555 :accept clojure.core.server/repl}" 
It currently seems to change the slash to a backslash:
Execution error (FileNotFoundException) at .FileInputStream/open0 (FileInputStream.java:-2).
.server.repl={:port 5555 :accept clojure.core.server\repl} (The filename, directory name, or volume label syntax is incorrect)

Alex Miller (Clojure team) 2020-04-19T19:07:10.004400Z

Replace your spaces with commas

Alex Miller (Clojure team) 2020-04-19T19:07:29.004800Z

Commas are white space to Clojure

Ah, forgot about that, but still getting the same error

but that thread probably has the answer in it

Although the ones I tried aren't working either, I'll probably just move the server starting inside the repl process, which seems to work

@jjttjj I tried this and it worked:

clojure "-J-Dclojure.server.repl={:port 5555 :accept clojure.server/repl}"

When I try to connect the server repl throws

Exception in thread "Clojure Connection repl 1" .FileNotFoundException: Could not locate clojure/server__init.class, clojure/server.clj or clojure/server.cljc on classpath.

whoops, I made a typo

clojure "-J-Dclojure.server.repl={:port 5555 :accept clojure.core.server/repl}"

yup, there it is, thanks again

that should do the trick