没有"排除"文件夹,我怎样才能在启动时停止索引intellij的想法?非常令人讨厌的是,它在启动时开始索引而不允许你,例如,调试测试用例,让你等到索引完成.
在基于解放者的clojure项目中,我们使用datomic作为DB.在将我们的本地dev数据库迁移到S3托管的数据库并在我们的project.clj上添加所需的依赖项后,我们无法启动REPL但是Liberator堆栈运行正常lein run
我的猜测是数据库连接搞砸了,所以问题是,我怎么能以某种方式"调试"或弄清楚这种lein repl超时的原因是什么?
我的project.clj
(defproject myproject "0.1.0-SNAPSHOT"
:main myproject.core
:jvm-opts ["-Xmx1G"]
:datomic {:schemas ["resources" ["myproject-schema.edn" ]]}
:plugins [[lein-ring "0.8.10"]]
; cp bin/transactor config/samples/free-transactor-template.properties resources/transactor.properties
:profiles {:dev
{:datomic {
; :config resources/transactor.properties
; :db-uri "datomic:free://127.0.0.1:4334/myproject"}
:db-uri "datomic:ddb://us-east-1/datomica/myproject"}
:dependencies [[ring-mock "0.1.5"]
[midje "1.5.1"]
]
}
}
:dependencies [[org.clojure/clojure "1.5.1"]
[com.datomic/datomic-pro "0.9.4556"]
; [com.datomic/datomic-free "0.9.4470"]
[com.cemerick/friend "0.2.0"]
[liberator "0.10.0"]
[compojure "1.1.5"]
[http-kit "2.1.13"]
[cheshire "5.1.1"]
[ring/ring-jetty-adapter "1.1.0"]
[ring/ring-devel "1.2.0"]
[org.clojure/clojure-contrib "1.2.0"]
[url62 "1.0.0-SNAPSHOT"]
[clj-http "0.7.8"]
[org.clojars.nathell/clojure-contrib "1.2.0"]
[com.taoensso/timbre "3.0.0-RC4"] …Run Code Online (Sandbox Code Playgroud) I have recently inherited a non-finished web app written in Clojure, based on compojure and hiccup basically. It's a bad attempt to model some sort of MVC with OO style not in the FP style as seen here . So I bet to re-start the project almost from the scratch reusing the useful parts. I consider these alternatives:
The least breaking alternative would be Compojure+Enlive+jquery-pjax
Using a clojure web framework like Pedestal Any experiences about this?
The initial idea was …