Completed
Details
Assignee
Alex MillerAlex MillerReporter
importimportPriority
Major
Details
Details
Assignee
Alex Miller
Alex MillerReporter
import
importPriority

Created June 7, 2018 at 5:13 PM
Updated January 2, 2019 at 7:13 PM
Resolved January 2, 2019 at 7:13 PM
Reproduction steps
Delete your local
.m2
cacherm -rf ~/.m2/
Create a folder
cd
into the folder and make sure there is no.cpcache
folderrm -rf .cpcache
Create a deps.edn file with the following contents
{:deps {clj-time {:mvn/version "0.14.2"
}}}Run the command
clojure -Sdescribe
Expected Result
Just the environment and command parsing info as data e.g.
Actual Result
Notice that the dependencies have been resolved, as indicated by several jars being downloaded.
Possible reason for bug
I think the issue is in this part of the
clojure
script:which is followed by
As far as I can tell this means, if the
.cpcache
is stale (as in this case),make-classpath
will always be run before handling the -Sdescribe parameter.