如何打开Eclipse中现有的Clojure项目? [英] How to open existing Clojure project in Eclipse?
问题描述
你有什么想法为什么?
-
安装逆时针插件在Eclipse中(来自eclipse marketplace)。这为eclipse提供了clojure和leiningen支持。
-
Add lein2-eclipse 插件到您的project.clj:
:在项目目录中运行以下命令:
lein eclipse
这会产生必要的专案档案。
-
将项目导入eclipse(文件 - >导入 - >常规 - >现有项目)。
-
在eclipse中右键单击项目,然后配置>转换为leiningen项目
Ive tried to do it usual way File -> Import -> General -> Existing project (as for java projects) BUT eclipse dont see clojure projects and cannot open it :( do you have any idea why ?
Install Counterclockwise plugin in Eclipse (from eclipse marketplace). This brings clojure and leiningen support to eclipse.
Add lein2-eclipse plugin to your project.clj :
:plugins [[lein2-eclipse "2.0.0"]]
Run following command inside the project directory :
lein eclipse
This generates necessary project files.
Import the project into eclipse ( File -> Import -> General -> Existing project ).
Right click on the project in eclipse then "Configure > Convert to leiningen project"
这篇关于如何打开Eclipse中现有的Clojure项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!