Fork me on GitHub
#leiningen
<
2019-11-04
>
atticmaverick21:11:30

i have a project that hangs when running "lein uberjar". it appears to compile all the project files but after the last one it just hangs. I read that it could be that a function call is outside the main. i checked and didnt see anything. is there a verbose build mode or something that can give me a hint?

mikerod21:11:02

@atticmaverick I believe I’ve seen issues before where the classpath was recursive or something like that so it gets caught in a loop

mikerod21:11:07

Maybe try looking into that

mikerod21:11:39

lein classpathcould potentially help

mikerod21:11:20

You may have to add profiles if your uberjar has special stuff in it. Like

mikerod21:11:54

lein with-profile uberjar classpath

mikerod21:11:58

For example

atticmaverick22:11:23

okay thanks. I will take a look. I was wondering if it was some kind of circular call. I was just hoping there would be some kind of way to see what is actually going on.

atticmaverick23:11:10

no luck. i think i will try building leinigen and debug it from there