Creating uberjars with depstar native in bb now also works on Windows:
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
I believe this is the result of parallel downloading to gitlibs messing up one of the cached git dirs
if you clear your ~/.gitlibs (either fully or selectively) and then do clj -Sforce -Sthreads 1
that should force a re-download singlethreaded
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. git@github.com:me/my-lib.git: USERAUTH fail
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
after that, things get trickier to debug, could be key type
Looks like the bit about the IdentityFile
line fixed it. Thank you
:thumbsup: