Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Updated to leiningen-1.6.2 #2

Open
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Owner

ndimiduk commented Jan 30, 2012

Fully re-written to reuse code from leiningen rather than copy-pasting
from leiningen. Depends on private functionality from leiningen 1.6.2
and so will likely break with 2.x.

This should also resolve issue #1.

Updated to leiningen-1.6.2
Fully re-written to reuse code from leiningen rather than copy-pasting
from leiningen. Depends on private functionality from leiningen 1.6.2
and so will likely break with 2.x.

This should also resolve issue 1.

Failed with same error. I bumped the minor revision number to ensure I was getting the latest and ran lein install and lein deps but same error. All I did in the previous pull request was call remove to filter out null values before copy-to-jar. Adding :resources-path to my project.clj still provides an adequate workaround however.
...
No namespaces to :aot compile listed in project.clj.
Exception in thread "main" java.lang.IllegalArgumentException: No method in multimethod 'copy-to-jar' for dispatch value: null (NO_SOURCE_FILE:0)
at clojure.lang.Compiler.eval(Compiler.java:5440)
at clojure.lang.Compiler.eval(Compiler.java:5391)
at clojure.core$eval.invoke(core.clj:2382)
at clojure.main$eval_opt.invoke(main.clj:235)
at clojure.main$initialize.invoke(main.clj:254)
at clojure.main$script_opt.invoke(main.clj:270)
at clojure.main$main.doInvoke(main.clj:354)
at clojure.lang.RestFn.invoke(RestFn.java:457)
at clojure.lang.Var.invoke(Var.java:377)
at clojure.lang.AFn.applyToHelper(AFn.java:172)
at clojure.lang.Var.applyTo(Var.java:482)
at clojure.main.main(main.java:37)
Caused by: java.lang.IllegalArgumentException: No method in multimethod 'copy-to-jar' for dispatch value: null
at clojure.lang.MultiFn.getFn(MultiFn.java:121)
at clojure.lang.MultiFn.invoke(MultiFn.java:172)
at leiningen.jar$write_jar.invoke(jar.clj:142)
at leiningen.hadoop$jar.invoke(hadoop.clj:33)
at leiningen.hadoop$hadoop.invoke(hadoop.clj:41)
at clojure.lang.Var.invoke(Var.java:365)
at clojure.lang.AFn.applyToHelper(AFn.java:161)
at clojure.lang.Var.applyTo(Var.java:482)
at clojure.core$apply.invoke(core.clj:542)
at leiningen.core$apply_task.invoke(core.clj:259)
at leiningen.core$_main.doInvoke(core.clj:325)
at clojure.lang.RestFn.invoke(RestFn.java:410)
at clojure.lang.AFn.applyToHelper(AFn.java:161)
at clojure.lang.RestFn.applyTo(RestFn.java:132)
at clojure.core$apply.invoke(core.clj:542)
at leiningen.core$_main.invoke(core.clj:328)
at user$eval42.invoke(NO_SOURCE_FILE:1)
at clojure.lang.Compiler.eval(Compiler.java:5424)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment