Leiningen installation and use and integration with eclipse

Source: Internet
Author: User

Leiningen is a project building tool for clojure and is compatible with Maven. @

Https://github.com/technomancy/leiningen

Install counterclockwise: clojure Eclipse plug-in, @ http://code.google.com/p/counterclockwise/

Update site: http://ccw.cgrand.net/updatesite

Install

Download the lein. BAT file

Copy content ~ /Bin/lein

Chmod 755 ~ /Bin/lein

Then execute lein self-install

Install eclipse support:

Lein plugin install lein-Eclipse 1.0.0

Command:

$ lein new [TEMPLATE] NAME # generate a new project skeleton$ lein test [TESTS] # run the tests in the TESTS namespaces, or all tests$ lein repl # launch an interactive REPL session$ lein jar # package up the whole project as a .jar file$ lein install # install a project$ lein search [TERM] # find jars for your project.clj dependencies

Lein deps import dependency packages

Lein uberjar generates a standalone jar package

// Convert the created project into an Eclipse project

Lein eclipse

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.