nrepl

https://github.com/nrepl/nrepl || https://nrepl.org
Misha Bohdan 2020-05-05T08:41:41.073500Z

Hello! I’m trying to adopt drawbridge to my project. I’ve done all the same way as described at README, but got next error

<http://java.io|java.io>.FileNotFoundException: Could not locate drawbridge/client__init.class, drawbridge/client.clj or drawbridge/client.cljc on classpath.
 at clojure.lang.RT.load (RT.java:466)
` How can it be fixed?

Misha Bohdan 2020-05-05T09:09:33.073800Z

Solution found: just added dependency to the ~/.lein/profiles.clj

Eugen 2020-05-05T10:50:07.074Z

yes, the error means that the library is not found - if it is added, a restart should do the trick. I get this in InterlliJ with gradle

Eugen 2020-05-05T10:50:14.074200Z

I have to restart the repl

bozhidar 2020-05-05T11:42:01.074400Z

Indeed! I stand corrected then. 😄

bozhidar 2020-05-05T11:42:46.074600Z

Well, I guess we really have to make this easier to set in nREPL directly - e.g. we can pass some optional initial ns to the server when starting or something along those lines.

2020-05-05T17:04:56.074800Z

I’ll start a discussion on that in a GitHub issue then ^^

2020-05-05T17:07:47.075100Z

also for traceability if it ends up being something that is not desirable for some reason

2020-05-05T17:43:02.075300Z

Lets continue these two threads here: https://github.com/nrepl/nrepl/issues/186 ^^

shen 2020-05-05T22:04:37.075700Z

hey. just saw the issue you posted in nREPL

shen 2020-05-05T22:04:49.075900Z

I just checked what you are trying to do

shen 2020-05-05T22:05:19.076100Z

did you place the :init-ns inside of :repl-options?

shen 2020-05-05T22:05:57.076300Z

i.e. this :repl-options {:init-ns your.namespace} inside of project.clj

2020-05-05T22:31:10.078100Z

Yes, it works for lein repl but not for lein repl :connect ....