Fork me on GitHub
#leiningen
<
2017-08-02
>
pseud07:08:12

@bfabry I don't know if things changed or it was a complete brain-fart, but I managed to work it out sometime after in the same manner as you described, so thanks 🙂

d5p10:08:08

i’ve got a strange issue where on a certain host it appears lein uberjar is executing some code as part of compile that is not happening in any other environments , causing a failure

d5p10:08:28

other than ~/.lein/profiles.clj is there anything else that could alter its compile behaviour?

danielcompton10:08:11

@d5p there are LEIN_* environment variables that can affect which Java compiler is used and other Lein behaviour. There's also your standard Java env vars. You may also have stale JARs in your .m2?

d5p10:08:30

no env vars set (other than JAVA_HOME) , have nuked .m2 and let it re-download

d5p10:08:48

still only on this specific machine it fails , trying to actually execute something where it doesn’t on other hosts

d5p10:08:00

totally bizarre

d5p11:08:20

wow things really not going my way today , fresh docker clojure image , fresh checkout of source , lein uberjar fails to compile with a basic Caused by: java.lang.ClassNotFoundException: vacer.util from one ns requiring that and for some reason compiler not following that?

d5p12:08:48

well weirdly both issues which don’t happen on most machines but just on a select few are resolved by using lein-aot-order to explicitly order my namespaces for compilation