安装clojure编译工具leiningen
来源:互联网 发布:淘宝详情页设计价格 编辑:程序博客网 时间:2024/04/30 18:28
Edit: Leiningen 1.3.1 got better Windows support and you don't need to follow these instructions anymore. Get the Windows distribution from here:http://github.com/technomancy/leiningen/downloads, unzip into a folder of choice and include in PATH.
Leiningen is a build tool for Clojure. Using Leiningen has been described here and here.
Leiningen installs and runs well on Linux and Mac. As of June 2010, Leiningen has experimental support for Windows and lacks the self-install feature. This post describes how to setup Leiningen on Windows XP. No prior Ant / Maven / Lancet experience is assumed.
1. Establish a directory where you want to install Leiningen (create if it doesn't exist). Example:
D:\lein
Also, add it to your system PATH environment variable.
2. Download the Leiningen script (right-click and choose "Save as"). Save it as "lein.bat" to the location discussed above.
3. Download the Leiningen JAR (for Leiningen 1.1.0) to the same location discussed above. The JAR filename can be figured out by looking at the comments (REM statements) in the lein.bat file.
4. Set environment variable LEIN_JAR to "D:\lein\leiningen-1.1.0-standalone.jar", or the appropriate path where the file is saved.
Leiningen is setup now. To test the install, try these:
D:\temp>lein new helloD:\temp>cd helloD:\temp\hello>lein depsD:\temp\hello>lein test
Please let me know your comments and feedback.
=====================================================================
这篇文章的链接地址 是blogspot上的,打不开就翻下或者这里将就看看。
linux下很简单直接在https://github.com/technomancy/leiningen 的bin目录下有个lein文件,直接chmod +x ;然后运行下就可以了,之后将lein添加到PATH
win上,最简单的方式就是点这里下个编译好的leningen-XXXX版本.jar包 ;然后在点这里,在左上角选择对应版本的代码,下载zip包。
比如你要安装到D:\lein 就copy leningen-xxxx.jar包和zip包到这儿目录下,兵解压zip包当当前目录,然后copy解压后目录中的bin目录下的lein.bat到 D:\lein
比如你要安装到D:\lein 就copy leningen-xxxx.jar包和zip包到这儿目录下,兵解压zip包当当前目录,然后copy解压后目录中的bin目录下的lein.bat到 D:\lein
最后就按上面说的,右键我的电脑在属性-》高级-》系统 在系统环境变量中添加LEIN_JAR=d:/lein/leningen-xxx.jar
然后再classpath的尾部添加:%LEIN_JAR%,最后在path中添加: d:\lein
然后再classpath的尾部添加:%LEIN_JAR%,最后在path中添加: d:\lein
之后就可以在任意的一个cmd窗口中敲入lein就一切正常了.
- 安装clojure编译工具leiningen
- 安装clojure编译工具leiningen
- Leiningen 安装
- clojure之leiningen生成eclipse工程
- Storm安装Leiningen 指南
- Leiningen 安装<转>
- 用Leiningen创建第一个Clojure工程一
- 用Leiningen创建第一个Clojure工程二
- 用Leiningen创建第一个Clojure工程三
- 用Leiningen创建第一个Clojure工程四
- leiningen构建工具的project.clj配置
- 手动编译Clojure
- clojure 1.4.0安装
- Clojure编程环境安装
- windows下安装clojure
- clojure-运行环境安装
- clojure 1.7 安装
- Leiningen安装使用及与eclipse的集成
- 堆排序算法实现
- 基于AT91SAM9G45的上手之SAM9G45器件DDR2硬件考虑
- 搭建Android源码编译环境
- Map对象的迭代学习
- IplImage, CvMat, Mat 的关系和相互转换
- 安装clojure编译工具leiningen
- Ajax文件上传
- 父母报警告发儿子勒死女友
- 搭建Android源码编译环境
- String的定义不同导致的不一致
- 屏幕适配
- 第七十三回 玄德进位汉中王 云长攻拔襄阳郡
- js自动刷新功能
- openCv配置