Fork me on GitHub

Creating uberjars with depstar native in bb now also works on Windows:

🎉 6
parrot 3

Anyone ever seen a message like the following after updating the :sha of a git dependency:

Error building classpath. Destination path "my-lib" already exists and is not an empty directory
org.eclipse.jgit.api.errors.JGitInternalException: Destination path "my-lib" already exists and is not an empty directory


you can delete local artifacts in $HOME/.gitlibs/{libs,_repos} and restart the repl


I don’t know exactly what cause that problem. In my case it happens after changing :git/url

Alex Miller (Clojure team)13:08:53

I believe this is the result of parallel downloading to gitlibs messing up one of the cached git dirs

Alex Miller (Clojure team)13:08:52

if you clear your ~/.gitlibs (either fully or selectively) and then do clj -Sforce -Sthreads 1 that should force a re-download singlethreaded

Alex Miller (Clojure team)13:08:16

we have a ticket for this, I haven't had a chance to really look at in depth yet


Thanks! Trying that revealed another error - technically auth-related, but testing ssh pushes/pulls to github on this repo still works for me, so I'm wondering if this is somethimg on my end or a symptom of a different bug:

Error building classpath. [email protected]:me/my-lib.git: USERAUTH fail

Alex Miller (Clojure team)13:08:12

you'll need to debug why it's not finding the key: 1. is ssh-agent running? if not, start it 2. does ssh-add -l list your public key? if not, add it 3. if you're on a Mac, check whether your ~/.ssh/config has Host * / IdentityFile in it, if so comment that out or remove it

💯 3
Alex Miller (Clojure team)13:08:48

after that, things get trickier to debug, could be key type


Looks like the bit about the IdentityFile line fixed it. Thank you