Clojure resources path and others -
how path resources directory in lein app project?
i have 1 way i've seen,
(clojure.java.io/resource "file.txt")
the doc says "returns url named resource" i'm confused this...not sure i'd want use. suppose case:
/project.clj /src /src/core.clj /resources/a.txt /resources/b.txt
say file a.txt contains sentence in lower case letters. , want read , write same sentence b.txt in upper case. how tell project write /resources/whatever.txt
?
if understand this, resources stored within jar , read-only. don't think right tool doing this.
Comments
Post a Comment