【发布时间】:2013-03-31 00:51:57
【问题描述】:
Clojure/Leiningen/Eclipse(和 Java)newby。我正在尝试让 Eclipse 加载 Clojure/Leiningen 项目,但在搜索 Lein 插件解决方案时,我看到了令人困惑/矛盾的结果。
面向 Java 开发人员的 Eclipse IDE 版本:Juno Service Release 2 版本号:20130225-0426 (Windows 8)
我在 .lein\profiles.clj 中有以下用户配置文件
{:user {:plugins [ [lein-eclipse "1.0.0"]
]}}
还有以下 Leiningen 项目文件:
(defproject firstclojureproj "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [
[org.clojure/clojure "1.5.1"]
[lein-eclipse "1.0.0"]
]
)
做一个 lein 帮助我得到以下(我认为这是我的问题的根源)
leiningen.eclipse Problem loading: Could not locate clojure/contrib/duck_streams__init.class or clojure/contrib/duck_streams.clj on classpath:
此外,当我尝试将/现有项目导入工作区/并选择包含我的 Leiningen 项目的文件夹时,该文件夹显示为灰色并带有一个复选框,我无法选择它。
【问题讨论】: