One of my users has reported a bug to me, #333. Basically Cursive cannot synchronise the speclj dependencies because the load-file in project.clj file requires the CWD to be set to the lein project directory. Since Cursive synchronises the dependencies fairly frequently (at every startup plus on several other occasions) we synchronise in-process by calling the Leiningen code directly. CounterClockwise also does the same, and I believe Nightcode does too although I'm not sure.
I need to add functionality to Cursive to be able to sync the dependencies by forking an external process, but that will make this operation much, much slower when working with the speclj source code. I know there are various plugins for managing dependencies in project.clj, would one of them work as an alternative to using load-file directly?
One of my users has reported a bug to me, #333. Basically Cursive cannot synchronise the speclj dependencies because the
load-file
inproject.clj
file requires the CWD to be set to the lein project directory. Since Cursive synchronises the dependencies fairly frequently (at every startup plus on several other occasions) we synchronise in-process by calling the Leiningen code directly. CounterClockwise also does the same, and I believe Nightcode does too although I'm not sure.I need to add functionality to Cursive to be able to sync the dependencies by forking an external process, but that will make this operation much, much slower when working with the speclj source code. I know there are various plugins for managing dependencies in
project.clj
, would one of them work as an alternative to usingload-file
directly?