does cream support -M:alias the way that clj does? I'm getting "-M:nrepl (No such file or directory)`.
No it only supports a classpath flag at the moment
So you build your classpath with the clojure CLI for now
that's what i'm saying: i'm trying to build the classpath with the clojure CLI, but the CLI passes flags that cream doesn't support
The CLI returns a classpath, not flags?
oh i see, you're saying i should do clojure -Spath -M:nrepl
yeah i expect that to work 🙂
Right
let me see if i can add that to Conjure's defaults
Thanks for testing cream!
i wonder if what i want is to keep invoking clj, but somehow tell it to invoke cream instead of the clojure executable
oh that almost worked
; JAVA_CMD=cream clojure -M:nrepl +2.4s
Error: Could not find option 'OmitStackTraceInFastThrow'. Use -XX:PrintFlags= to list all available options.hm -XX:PrintFlags is also broken
i wonder if cream should just ignore X flags it doesn't understand?
(alternatively i guess it could add support for everything the clojure shell wrapper tries to pass)
it tries to use that -XX:-OmitStackTraceInFastThrow (probably not too important?), -classpath which i believe is already handled, -Dclojure.basis=.cpcache/2441682307.basis (i would expect this to be fairly simple to support?) and clojure.main as the entrypoint (i would expect this to also be simple to support, as long as it's specifically clojure.main. maybe it makes sense to error if it's anything else.)