clooj icon indicating copy to clipboard operation
clooj copied to clipboard

Doesn't run under lein because of get-clooj-version

Open kcarnold opened this issue 14 years ago • 2 comments

get-clooj-version ends up trying to find the source for 'project.clj' in the lein 'classes' directory. Under 'lein repl' under a brand-new bootstrapped lein:

clooj.core=> (get-clooj-version) java.io.FileNotFoundException: /Users/Shared/src/clooj/classes/project.clj (No such file or directory) (NO_SOURCE_FILE:0)

If I copy the project.clj file from the root directory (not the src/clooj directory...oops...), it runs just fine.

(I'm relatively new to clojure, so perhaps some documentation would have avoided this problem.)

kcarnold avatar Sep 12 '11 21:09 kcarnold

Apparently an update to leiningen "fixed" the underlying problem of getting the project version at runtime, but didn't give an example of how to use the fix. Hopefully you can figure it out: https://github.com/technomancy/leiningen/issues/178

kcarnold avatar Sep 12 '11 21:09 kcarnold

Thanks for adding this issue. I will try to fix it in the near future.

Arthur

On Mon, Sep 12, 2011 at 2:28 PM, kcarnold [email protected] wrote:

Reply to this email directly or view it on GitHub: https://github.com/arthuredelstein/clooj/issues/69

arthuredelstein avatar Sep 13 '11 17:09 arthuredelstein