How to recompile and reload java source code when “lein repl” runs?

I have a clojure project and I'm using leiningen I'm also using tools Namespace reloads clojure code when repl is run If I want to include java source code in my project, can I recompile and reload it at repl runtime? What is the most convenient / dynamic way? I can do this so that it works with tools Does namespace work well?

Solution

I'm here to answer my own reward, but I did some work to get this:

Using vinyasa,

Here is a blog post:

Dynamic reloading of java code in emacs/nrepl

... actually... It doesn't work anymore... You have to go back to an earlier version to get support

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>