Welcome! Please see the About page for a little more info on how this works.

0 votes
in tools.deps.alpha by

To repro:

  • Write a deps.edn file with a dependency
  • Run clj (downloads deps, caches classpath, starts repl)
  • rm -rf ~/.m2/repository//
  • Run clj (uses cached classpath)

If you delete the Clojure version itself, then you will get an error that clojure.main is missing. If you delete a dependency, your repl will start but you will be missing the expected dependency.

The installation script could potentially detect this by checking the components of the classpath to see if each jar file exists. Not sure if that's worth doing or not.

1 Answer

0 votes
by
Reference: https://clojure.atlassian.net/browse/TDEPS-70 (reported by alexmiller)
...