Doesn't run under lein because of get-clooj-version
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.)
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
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