Hi! is it possible to configure mirrors and repositories from project.clj instead of profiles.clj? I haven't managed yet
or can you add a -s commands like in maven?
mvn clean -s settings.xml
?
@jarvinenemil you can specify both within a project.clj
What is -s?
its for settings in maven
like mirror, repository etc.
Oh.
You can command line alter project
lein update-in : assoc :repositories <edn map here> — <tasks here>
having the definitions in project.clj worked like a charm 🙂, thanks @mikerod
Good
Are deprecation warnings a thing? I see https://clojure.atlassian.net/browse/CLJ-706 for getting it into clojure but it's not in yet. Does leiningen handle it at all?
I have an issue when launching lein repl
on a project:
I get this error:
/Users/viebel/prj/cyco/combo/target/default+57112520/bb0a23c4d064f2123af6cc3c9b1d72630db3fa48-init.clj (No such file or directory)
Other folks from my team don’t get this error at all, although we all run leiningen 2.9.4 on JDK 11
Leiningen 2.9.4 on Java 11.0.8 Java HotSpot(TM) 64-Bit Server VM
What is the meaning of the error?
How could I solve it?
lein clean?
Didn’t help
The error disappears when I remove :target-path "target/%s/"
from project.clj
The Eastwood linter can warn about these for Clojure/JVM code, at least (it does not support ClojureScript). I do not know off hand whether the clj-kondo linter (which does support ClojureScript) might warn about uses of deprecated things.