Fork me on GitHub
#cursive
<
2018-12-31
>
Kari Marttila13:12:32

This might not be a cursive specific related problem but a Clojure REPL related problem but let's ask it here at this cursive channel anyway. I had to create a couple of gen-classes for a Java API I'm using from Clojure. Previously if I wanted to refresh the Cursive REPL I just gave command: (do (require '[clojure.tools.namespace.repl :refer [refresh-all]]) (refresh-all)) ... and I got a refreshed REPL (newest changes regarding all namespaces). But after implementing the two gen-classes when giving that refresh-all command Cursive REPL complains: namespace 'simpleserver.util.azuregenclass.productgroup' not found after loading '/simpleserver/util/azuregenclass/productgroup' (productgroup being the gen-class) This is a bit of a nuisance since I need to manually load those two namespaces to Cursive REPL and continue experimenting code with REPL. I was wondering if there is some way I can automate this?

cfleming21:12:23

@kari.marttila I’m not sure, sorry - I don’t use gen-class or tools.namespace. It sounds like a tools.namespace thing to me, perhaps #clojure can help?