cursive
cursive copied to clipboard
Possible issue when alias is present in local project as well as in user deps.edn
Reported by @onetom in Slack:
If i have the same alias (eg. ion-dev) in my ~/.clojure/deps.edn and my project's deps.edn, what will Cursive do about it?
In the Clojure Deps tool window, under the Aliases tree, I can only see one entry and that mentions (system) after its name.
I'm asking, because it seems to be the key to the Errors during project resolution issue I've described a few days ago: https://clojurians.zulipchat.com/#narrow/stream/180378-slack-archive/topic/cursive/near/220338073
both my ~/.clojure/deps.edn and project deps.edn did have an ion-dev alias, but only my project deps.edn specified datomic-cloud in :mvn/repos, which is necessary for the :extra-deps {com.datomic/ion-dev {:mvn/version "0.9.276"}}
It feels like Cursive is doing something slightly different from the Clojure CLI tools in such scenario, because the clojure script didn't have a difficulty in starting a REPL in such a situation.