Fork me on GitHub

@alexmiller -- Not sure which JIRA to direct him to. I initially suggested TDEPS but it's more an issue with the clojure script... Is that under INST or CLJ?


(and, now he's posted a comment, it seems his issue is that if you run clj with an alias that pulls in :main-opts, then change those opts and run clj again, it uses the old :main-opts instead of regenerating the cached options?)

Alex Miller (Clojure team)01:03:01

I reopened and moved to tools.deps

Alex Miller (Clojure team)01:03:15

The full alias set should be included in the cache key so what’s being described shouldn’t be happening but I’ll take a look


Ah, I didn't know you could move a ticket like that. Thanks.


FWIW, I can repro it locally. Ran clj -A:test in a project with that deps.edn, then commented out the :main-opts line and clj -A:test still invokes the test runner instead of just starting a REPL.


Adding -Sforce doesn't solve the problem. You have to remove the cached .main file from .cpcache.


Hahaha... you couldn't let it be, eh? 🙂

Alex Miller (Clojure team)02:03:07

easy fix once I saw it :)

Alex Miller (Clojure team)02:03:52

btw, there is a new tools.deps out with some minor bug fixes (not this one of course)

Alex Miller (Clojure team)02:03:39

holding off on a clj update for the moment as I’m hoping to get the first rev of Windows scripts locked down


I look forward to trying the Windows scripts.

Alex Miller (Clojure team)03:03:59

I look forward to having you trying them :)