English 中文(简体)
我怎么能混淆我的项目。 因此,莱宁根在非标准目录结构下找到我的来源?
原标题:How can I configure my project.clj so that Leiningen finds my sources under a non-standard directory structure?

看来是Leiningen s compile。 任务是在/src目录下立即开始提供材料包。 我在我的项目中既使用贾瓦语,也使用克隆语,因此,我的/src名录认为:

/src/java/myapp
/src/clojure/myapp

现在,Leiningen正在寻找/src/myapp,并在compile上失败。

与此相关,我想知道,如何人工添加莱宁斯班次的名录compilerepl。 任务。 例如,Enlive s deftemplate功能将搜索一个指定模板文档的班次。 我的项目要适当建造和运行,就必须在班次中增加<>/项目>。

最佳回答

http://github.com/ato/leiningen/commit/fb95c5ef57a554081c012df139b2751344cc970a'rel=“nofollow noreferer”>在Leiningen 1.0中固定的,该表目前正在下周或下周对释放物进行良好检查。 希望有人也写出 Lei木gin的花.;很容易写成 Le的 Le子,因此你只能重复ant。

问题回答

您是否尝试制定<代码>:root 贵项目档案的价值?

查阅汇编指挥的源代码,只能处理。 衣物在<条码>(档案(:root Project)“src”下查找这些档案,因此,你可以制定<条码>:root,指明“src/clojure/”但仍需有条码链接,以便“src/clojure/src/”......





相关问题
How to improve Clojures error messages

I ve been playing a bit with Clojure and so far is fairly impressed, but one thing that I keep running into is wierd error messages from Clojure. This comes in two forms: Java errors, like null ...

clojure rmi classpath problem

I am trying to use clojure to implement a "plugin" for some vendor supplied software. Here is a little background on the vendor supplied software. It expects me to implement a particular interface ...

Help translating this Java codeblock to Clojure?

I m getting my feet wet with Clojure, and trying to get used to functional programming. I ve been translating various imperative functions from other languages into their Clojure equivalents -- and ...

Is functional Clojure or imperative Groovy more readable?

OK, no cheating now. No, really, take a minute or two and try this out. What does "positions" do? Edit: simplified according to cgrand s suggestion. (defn redux [[current next] flag] [(if flag ...

taking java method names as function arg in clojure

All, I want to create a function that takes a symbol representing a java method and applies it to some object: (user=> (defn f [m] (. "foo" (m))) When I execute this, I get a result much ...

how to efficiently apply a medium-weight function in parallel

I m looking to map a modestly-expensive function onto a large lazy seq in parallel. pmap is great but i m loosing to much to context switching. I think I need to increase the size of the chunk of work ...

热门标签