Errorjava.lang.Exception: No namespace: <mynamespace> foundOffending Code(defn check-foreach-namespace [namespaces](let [fnss (filter #(= Fubar (type (var-get %)))(vals (ns-publics (symbol (first namespaces)))))]
(println "filtered-namespace [" fnss "]")))(defn myplugin [project & args](check-foreach-namespace args))
Error:java.io.FileNotFoundException: Could not locate <mynamespace_file.clj> on classpath:Offending Code:(ns leiningen.chesk(:require [clojure.test.check :as tc][clojure.test.check.generators :as gen][clojure.test.check.properties :as prop]))(defn check-foreach-namespace [namespaces](let [nss (map #(require (symbol %)) namespaces)fnss (filter #(= clojure.test.check.generators.Generator (type (var-get %)))(vals (ns-publics (symbol (first nss)))))](println "filtered-namespace [" fnss "]")))(defn myplugin [project & args](check-foreach-namespace args))
clojure.lang.Compiler$CompilerException: java.lang.ClassNotFoundException: leiningen.core.eval
(ns leiningen.chesk(:require [clojure.test.check :as tc][clojure.test.check.generators :as gen][clojure.test.check.properties :as prop]))(defn check-foreach-namespace [namespaces](let [fnss (filter #(= clojure.test.check.generators.Generator (type (var-get %)))(vals (ns-publics (symbol (first namespaces)))))](println "filtered-namespace [" fnss "]")))(defn myplugin [project & args](leiningen.core.eval/eval-in-project project(check-foreach-namespace args)(map #(require (symbol %)) args)))
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
$ lein chesk bkell.domain.user-checkclojure.lang.Compiler$CompilerException: java.lang.RuntimeException: Unable to resolve symbol: eval-in-project in this context, compiling:(leiningen/chesk.clj:16:3)at clojure.lang.Compiler.analyze (Compiler.java:6464)clojure.lang.Compiler.analyze (Compiler.java:6406)clojure.lang.Compiler$InvokeExpr.parse (Compiler.java:3665)...
(defproject chesk "0.1.0-SNAPSHOT":description "FIXME: write description":url "http://example.com/FIXME":license {:name "Eclipse Public License":eval-in-leiningen true)
(ns leiningen.chesk(:require [leiningen.core.eval :refer [eval-in-project]]))(defn check-foreach-namespace [](println "sanity check"))(defn chesk [project & args](eval-in-project project`(check-foreach-namespace)'()))
.|-- LICENSE|-- pom.xml|-- project.clj|-- README.md`-- src`-- leiningen`-- zzz.clj
(ns leiningen.zzz
(:require [leiningen.core.eval :refer [eval-in-project]]))
(defn zz [] (println "Hi!"))(defn zzz [project & args](eval-in-project project`(zz)'(require 'leiningen.zzz)))
Exception in thread "main" java.io.FileNotFoundException: Could not locate leiningen/zzz__init.class or leiningen/zzz.clj on classpath: , compiling:(/tmp/form-init8179496390342821964.clj:1:4)at clojure.lang.Compiler.load(Compiler.java:7142)...at clojure.main.main(main.java:37)Caused by: java.io.FileNotFoundException: Could not locate leiningen/zzz__init.class or leiningen/zzz.clj on classpath:at clojure.lang.RT.load(RT.java:443)...at clojure.lang.Compiler.load(Compiler.java:7130)... 11 moreSubprocess failed
#_:repl-options #_{:nrepl-middleware[ritz.nrepl.middleware.javadoc/wrap-javadocritz.nrepl.middleware.simple-complete/wrap-simple-completeinspector.middleware/wrap-inspect]}}