Fork me on GitHub
#tools-deps
<
2021-08-27
>
plexus12:08:28

is there a way to get the aliases that were used when starting clojure at runtime?

plexus12:08:14

I had hoped to find them in clojure.basis but it doesn't look like they're there

Alex Miller (Clojure team)12:08:09

The aliases are not there, just the args that resulted from combining them

Jakub Holý (HolyJak)17:08:34

🙏 What do I need to do to see the resources of a local rot dependency (fulcro) in clojure -Spath ? Currently it only prints its src/main : > src/shared:/Users/me/Projects/fulcro/src/main:/Users/me/.m2/... I have modified the https://github.com/fulcrologic/fulcro/blob/develop/deps.edn#L1 to have also resources in paths:

{:paths   ["src/main" "resources"]
but it did not help and resources is still not showing up.

dpsutton17:08:58

try clojure -Sforce to recompute. There's an open ticket (i'll find it in a second) to recognize when local root cpcache is stale

Alex Miller (Clojure team)17:08:25

local deps are not part of the stale classpath check so changes for those always require -Sforce

Jakub Holý (HolyJak)17:08:05

ah, ok. Thanks a lot!

Alex Miller (Clojure team)17:08:58

maybe some day I'll get around to that :)

Alex Miller (Clojure team)21:08:33

I just pushed an even more pre release of Clojure CLI than usual - 1.10.3.956 • Refine exec exceptions for missing namespace vs missing function in namespace • Replaced Maven with tools.build

Alex Miller (Clojure team)21:08:32

seems like all the things are in the right places after the switch but if you're feeling experimental, give it a try (ideally it should really just be the same, the bits are just formed in new ways)

Alex Miller (Clojure team)21:08:27

the next step I'm moving towards is to start compiling the internal uber jar and maybe the exec stub jar which should make classpath gen faster

seancorfield21:08:24

Can you elaborate on Replaced Maven with tools.build?

seancorfield21:08:21

(I'm installing that version now so I can kick the tires)

Alex Miller (Clojure team)21:08:12

not sure how else to say it

seancorfield21:08:29

I just looked at the commit and now it makes sense, nm.

Alex Miller (Clojure team)21:08:29

all of the jars and tars and zips used to be built with Maven and are now built with tools.build

Alex Miller (Clojure team)21:08:22

I enjoyed the dog food and am hungry for more :)

seancorfield21:08:17

I look forward to being able to use tools.build to build our uberjars at work but that needs the log4j2 stuff incorporated 🙂