Created
March 19, 2010 20:41
-
-
Save bmabey/338153 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ lein clean && lein compile | |
Cleaning up | |
[copy] Copying 2 files to /private/tmp/example/lib | |
[null] Compiling foo_bar.core | |
[null] Exception in thread "main" java.lang.Exception: namespace 'foo_bar.core' not found after loading '/foo_bar/core' (NO_SOURCE_FILE:1) | |
[null] at clojure.lang.Compiler.eval(Compiler.java:4658) | |
[null] at clojure.lang.Compiler.eval(Compiler.java:4634) | |
[null] at clojure.core$eval__5236.invoke(core.clj:2017) | |
[null] at clojure.main$eval_opt__7411.invoke(main.clj:227) | |
[null] at clojure.main$initialize__7418.invoke(main.clj:246) | |
[null] at clojure.main$null_opt__7446.invoke(main.clj:271) | |
[null] at clojure.main$main__7466.doInvoke(main.clj:346) | |
[null] at clojure.lang.RestFn.invoke(RestFn.java:426) | |
[null] at clojure.lang.Var.invoke(Var.java:363) | |
[null] at clojure.lang.AFn.applyToHelper(AFn.java:175) | |
[null] at clojure.lang.Var.applyTo(Var.java:476) | |
[null] at clojure.main.main(main.java:37) | |
[null] Caused by: java.lang.Exception: namespace 'foo_bar.core' not found after loading '/foo_bar/core' | |
[null] at clojure.core$load_one__6379.invoke(core.clj:4010) | |
[null] at clojure.core$compile__6464$fn__6466.invoke(core.clj:4181) | |
[null] at clojure.core$compile__6464.invoke(core.clj:4180) | |
[null] at user$eval__5.invoke(NO_SOURCE_FILE:1) | |
[null] at clojure.lang.Compiler.eval(Compiler.java:4642) | |
[null] ... 11 more | |
Exception in thread "main" Java returned: 1 (NO_SOURCE_FILE:0) | |
at clojure.lang.Compiler.eval(Compiler.java:4658) | |
at clojure.core$eval__5236.invoke(core.clj:2017) | |
at clojure.main$eval_opt__7411.invoke(main.clj:227) | |
at clojure.main$initialize__7418.invoke(main.clj:246) | |
at clojure.main$null_opt__7446.invoke(main.clj:271) | |
at clojure.main$main__7466.doInvoke(main.clj:346) | |
at clojure.lang.RestFn.invoke(RestFn.java:426) | |
at clojure.lang.Var.invoke(Var.java:363) | |
at clojure.lang.AFn.applyToHelper(AFn.java:175) | |
at clojure.lang.Var.applyTo(Var.java:476) | |
at clojure.main.main(main.java:37) | |
Caused by: Java returned: 1 | |
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87) | |
at leiningen.compile$eval_in_project__791.doInvoke(compile.clj:141) | |
at clojure.lang.RestFn.invoke(RestFn.java:430) | |
at leiningen.compile$compile__806.invoke(compile.clj:154) | |
at clojure.lang.Var.invoke(Var.java:359) | |
at clojure.lang.AFn.applyToHelper(AFn.java:173) | |
at clojure.lang.Var.applyTo(Var.java:476) | |
at clojure.core$apply__4370.invoke(core.clj:436) | |
at leiningen.core$_main__46$fn__49.invoke(core.clj:81) | |
at leiningen.core$_main__46.doInvoke(core.clj:78) | |
at clojure.lang.RestFn.invoke(RestFn.java:413) | |
at user$eval__55.invoke(NO_SOURCE_FILE:1) | |
at clojure.lang.Compiler.eval(Compiler.java:4642) | |
... 10 more |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns foo-bar.core | |
(:gen-class)) | |
(defn -main [& args] | |
(prn args)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defproject foo-bar "1.0.0-SNAPSHOT" | |
:description "FIXME: write" | |
:dependencies [[org.clojure/clojure "1.1.0"] | |
[org.clojure/clojure-contrib "1.1.0"]] | |
:main foo_bar.core) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment