Clojure: Importing a Leiningen Project into Eclipse
March 10th, 2011 | Posted by Jay
in Computing
To import a Leiningen project into Eclipse,
so that you can use CounterClockwise with all its nice features, such
as syntax highlighting, there is a handy plugin called lein-eclipse
.
To get started, all you have to do is to add this plugin as a dev-dependency
in your project’s project.clj
.
(defproject my-project "1.0.0-SNAPSHOT"
:description "My Clojure Leiningen Project"
:dependencies [
[org.clojure/clojure "1.2.0"]
[org.clojure/clojure-contrib "1.2.0"]
[ring/ring-jetty-adapter "0.2.5"]
]
:dev-dependencies [
[lein-eclipse "1.0.0"]
]
)
Then, you need to download the project dependencies via
prompt> lein deps
This will automatically install lein-eclipse
and add a new task called eclipse
to leiningen
. Invoking
prompt> lein eclipse
runs this task and creates the Eclipse projects files .project
and .classpath
. Now you can simply import the project into Eclipse via “File->Import->Existing Project into Workspace”.
分享到:
相关推荐
clojure clojure clojureclojure clojure
最新版的clojure插件,以eclipse为IDE的clojure开发人员必备
NULL 博文链接:https://roysong.iteye.com/blog/1260147
Schema 是一个 Clojure(Script) 库,用来声明数据描述和验证。 代码示例:(ns schema-examples (:require [schema.core :as s :include-macros true ;; cljs only ])) (def Data "A schema for ...
clj-postgresql, 面向Clojure项目的PostgreSQL帮助程序 clj一个用于帮助在Clojure项目中使用更高级的PostgreSQL特性的Clojure库。可用时使用 PGHOST,PGUSER和 PGDATABASE可以将 ~/.pgpass 用于密码实现 clojure....
Clojure is an opinionated language—it doesn’t try to cover all paradigms or provide every checklist bullet-point feature. Instead it provides the features needed to solve all kinds of real-world ...
纸质版本在美国亚马逊要到2009年3月才能上架 Paperback: 200 pages Publisher: Pragmatic Bookshelf (March 15, 2009) Language: English ISBN-10: 1934356336 ISBN-13: 978-1934356333 Format: PDF Description: ...
【1】[Clojure编程乐趣](The Joy of Clojure).pdf 【2】Clojure – Functional Programming for the JVM中文版.pdf 【3】Clojure Cookbook.pdf 【4】Clojure Data Analysis Cookbook.pdf 【5】clojure Hand book...
Practical Clojure Clojure语言书籍
Clear, practical Clojure for the professional programmer Professional Clojure is the experienced developer's guide to functional programming using the Clojure language. Designed specifically to meet ...
主要特性:从 Java 中保护你的 Clojure 程序,进行安全的互操作,正确的使用外部 Java 库。Typed Clojure 支持关键字映射的使用,类型检测器中包含有用的映射操作,包括关键字查找,添加或者移除关键字,合并映射...
Clojure Copyright (c) Rich Hickey. All rights reserved. The use and distribution terms for this software are covered by the Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ...
[2013] Functional Programming Patterns in Scala and Clojure - Write Lean Programs for the JVM.(Michael Bevilacqua-Linn).[1937785475].pdf+epub.rar [2014] Clojure Cookbook - Recipes for Functional ...
clojure, 在Clojure中,Exercism练习 Exercism Track Clojure中的Exercism练习贡献指南请参见贡献指南。 Clojure iconClojure logo 是由富Hickey拥有的。 我们使用它来识别Clojure语言本身,而不是Exe
Clojure编程乐趣和clojure_programming.pdf两本书
Clojure是一个JVM的动态函数式语言,最近发布了1.0版本,版本中Clojure提供了一个健壮的代码。Clojure是一套发展快速的新的编程语言,特别是,它为多核计算做了新的解决方案。在今后的软件设计中无论使用Clojure语言...
这是一个使用 Leiningen 构建的 Clojure 项目,用于将数据从 StackOverflow API 导入 Neo4j。 虽然它在编写时考虑了代码重用,但存在一些已知的问题: Neo4j 服务器是硬编码的 目前编码为导入 1000 个问题(10 页...
clojure1.3.0及资料,附《Programming Clojure》,《Practical Clojure》
[2009] Programming Clojure.(Stuart Halloway).[1934356336].pdf [2010] Functional Programming with Clojure - Simple Concurrency on the JVM.(Tim Berglund, Matthew McCullough).[193650202X].pdf [2010] ...