clojure.lang.ExceptionInfo: EOF while reading file: "/var/folders/vb/f0pcbd0n7bs1d84jljy46g040000gn/T/boot.user9064214272232768977.clj"
alehatsman opened this issue · 1 comments
alehatsman commented
Hello, i always get this error. I am trying to debug what is going on right now. May be you have some ideas.
My config:
(def project 'autoscanner-api)
(def version "0.1.0-SNAPSHOT")
(set-env! :resource-paths #{"resources"}
:source-paths #{"src"}
:dependencies '[[org.clojure/clojure "1.8.0"]
[environ "1.1.0"]
; Logging dependencies
[org.clojure/tools.logging "0.3.1"]
[log4j/log4j "1.2.17"]
[org.slf4j/slf4j-log4j12 "1.7.9"]
; Http dependencies
[aleph "0.4.3"]
[compojure "1.6.0"]
[ring "1.6.2"]
[manifold "0.1.6"]
[com.stuartsierra/component "0.3.2"]
[org.danielsz/system "0.4.1-SNAPSHOT"]
[boot-environ "1.1.0"]
[adzerk/boot-test "RELEASE" :scope "test"]])
(require
'[environ.boot :refer [environ]]
'[adzerk.boot-test :refer [test]]
'[system.boot :refer [system run]]
'[autoscanner-api.system :refer [app-system]])
(task-options!
aot {:namespace #{'autoscanner-api.core}}
pom {:project project
:version version
:description "FIXME: write description"
:url "http://example/FIXME"
:scm {:url "https://github.com/yourname/autoscanner-api"}
:license {"Eclipse Public License"
"http://www.eclipse.org/legal/epl-v10.html"}}
jar {:main 'autoscanner-api.core
:file (str "autoscanner-api-" version "-standalone.jar")})
(deftask dev
"Run a restartable system in the Repl"
[]
(comp
(environ :env {:http-port "9000"
:database-url "http://localhost:8000"})
(watch :verbose true)
(system :sys #'app-system)
(repl :server true)))
(deftask build
"Build the project locally as a JAR."
[d dir PATH #{str} "the set of directories to write to (target)."]
(let [dir (if (seq dir) dir #{"target"})]
(comp (aot) (pom) (uber) (jar) (target :dir dir))))
alehatsman commented
Hm.. after commenting some lines of system source code, i realized that problem was in my code. What i can't understand is why does it print so uninformative exception... :(