leiningen

N.B. The maintainers are on #leiningen on Libera chat IRC. Go there for direct support/bug reports.
uosl 2020-02-12T16:16:32.102700Z

I have a weird problem with lein pdo trampoline less auto, with-profile +repl run throwing the following:

Error encountered performing task 'run' with profile(s): 'base,system,user,provided,dev,repl'
java.lang.IllegalStateException: Attempting to call unbound fn: #'leiningen.core.eval/eval-in-project 
This only occurs on one specific Linux computer. Tested with a fresh install of latest lein. It seems to only occur when pdo and trampoline are used together. Anyone experienced this before?

2020-02-12T19:47:19.103500Z

pdo and trampoline seem incompatible to me? pdo starts N threads with lein tasks, trampoline replaces the lein task with your target task

👍 1
2020-02-12T19:47:34.103800Z

% lein help trampoline
Run a task without nesting the project's JVM inside Leiningen's.

Calculates the Clojure code to run in the project's process for the
given task and allows Leiningen's own JVM process to exit before
running it rather than launching a subprocess of Leiningen's JVM.

Use this to save memory or to work around stdin issues.

Note that this can be unpredictable on account of collapsing all
eval-in-project calls into one run. For example, tasks chained
together under different profiles end up all running together.

2020-02-12T19:47:55.104400Z

I'm not sure how allowing lein to exit so your task can run, and leaving another task running in parallel would work out...