我有一个Clojure项目,正在使用leiningen.我还使用tools.namespace在运行REPL时重新加载Clojure代码.如果要在项目中包含Java源代码,可以在REPL运行时重新编译并重新加载它吗?最方便/最动态的方式是什么?我可以这样做,使其与tools.namespace一起正常工作吗?
I have a Clojure project, and I'm using leiningen. I'm also using tools.namespace to reload Clojure code while running a REPL. If I want to include Java source in the project, can I recompile and reload it while the REPL is running? What is the most convenient/dynamic way of doing it? Can I do it so that it works well with tools.namespace?
推荐答案我在这里回答自己的赏金问题,但是我做了一些工作来解决这个问题:
I'm answering my own bounty here but I did do a bit of work getting this up:
使用 Vinyasa ,
这是一篇博客文章:
在emacs/nrepl中动态重载Java代码
...实际上...有点不起作用了...您必须回到较早的版本才能获得支持.
... actually... it's kinda not working anymore... you have to do back to the earlier versions in order to get the support.
更多推荐
如何在`lein repl`运行时重新编译并重新加载Java源代码?
发布评论