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