Hi cursive devs! I just added org.clojars.cvillesteele/lein-git-version plugin to my project and set its path to etc. This would mean that it'd generate a file with ~projectname.version namespace that contains various git info and put it in my ~projectroot/etc folder every time I launch lein $WHATEVER from the shell. My problem with this behaviour is the fact that if I launch lein repl from terminal it starts, while it doesn't from cursive, which says Error reading /home/me/myproject/project.clj: etc/version.clj (No such file or directory).
Does cursive have different $PATH than my user's default shell?
I posted it on #cursive channel in the clojurians slack group, but I think that it should belong to here, sort of.
One workaround is to launch the REPL with lein repl, and then connect to it as a remote REPL. You can set this in the Run/Debug Configurations window, e.g.
Hi cursive devs! I just added
org.clojars.cvillesteele/lein-git-version
plugin to my project and set its path toetc
. This would mean that it'd generate a file with~projectname.version
namespace that contains various git info and put it in my~projectroot/etc
folder every time I launchlein $WHATEVER
from the shell. My problem with this behaviour is the fact that if I launchlein repl
from terminal it starts, while it doesn't from cursive, which saysError reading /home/me/myproject/project.clj: etc/version.clj (No such file or directory)
. Does cursive have different $PATH than my user's default shell?I posted it on #cursive channel in the clojurians slack group, but I think that it should belong to here, sort of.