there is a way to pass the java classpath indo a deps.edn file?
I'm trying to pick the classpath that runs on a java -cp ....
and trying to pass them to a deps.edn file
not into a deps.edn file, but you can at the Clojure CLI with clojure -Scp whatever
that will just override all classpath construction from the deps.edn file
hum...
I'm not sure I understand what you're trying to do tbh
I can do this to make a pom.xml instead?
(then it'll go out off the scope)
can you explain what "trying to pass them to a deps.edn file" means?
if I can use
{:paths [,,,]}
with the files on classpath
or something like this
I mean, the classpath is a string - you can split it on classpath splitter, and then copy that into the :paths
@d.ian.b Do you mean, you want to add a directory with .jar files or .class files in it, to the classpath by adding them to deps.edn?
I'm not sure why you want to do this
I'm a bit confused too
yeah...
You can do this using :local/root
I'm trying to have a IntelliJ classpath to run a repl with tools.deps
in that case it what Alex said: you can start it like clj -Scp <intellij-classpath>
right now the repl is executed by using:
java -cp ,,,, clojure.main -m user ,,,
the idea is that I don't have the IntelliJ classpath right now...
I want to have a way to IntelliJ detect this classpath
you can get the classpath from a deps.edn file at the terminal with clj -Spath
the idea right now is that I don't have a deps.edn file
I want to build one
@d.ian.b Are you using Cursive by any chance? I think it already has deps.edn support
@alexmiller I know :path
and :extra-paths
can use aliases-as-data. Can :jvm-opts
? Weβre finding that we have a common set of JVM options we want to apply in multiple contexts (aliases) and weβd rather not have to introduce a new alias just for those, but if we could add :jvm-opts :common-jvm-opts
to each alias that would be nice.
Not currently
Thanks. Saves me grubbing around in the source. Do you think it would be worth adding?
wen tools.build
hehe joking. I've been on clojured and wanted to say that your presentation @alexmiller was fantastic, looking forward to tools.build!
is that publicly available yet? my schedule didn't line up to catch it live unfortunately
Not available yet, hopefully soon
I attended the whole conference live from 1 am Pacific to 11 am Pacific β it made for a very βslowβ Saturday, after the conference π
ClojureD was great and it was very nice of you to come over there Alex! Enjoyed the presentation.