concept Leiningen in category java

appears as: Leiningen, Leiningen
The Well-Grounded Java Developer

This is an excerpt from Manning's book The Well-Grounded Java Developer.

If you import the project that Leiningen has just set up into Eclipse (for example, with the CounterClockwise plugin installed), the project layout will look like it does in figure 12.17.

Figure 12.17. A newly created Leiningen project

This project structure mirrors the straightforward layout of Java projects—there are parallel test and src structures with a core.clj file in each one (for tests and top-level code, respectively). The other important file is the project.clj, which is used by Leiningen to control the build and hold metadata.

Leiningen is a very natural choice for Clojure projects. It brings together a very tight loop TDD and REPL approach with a very clean tool for build and deployment.

12.6.1. Getting started with Leiningen

Leiningen provides a very simple way to get started. For Unix-like systems (including Linux and Mac OS X), start by grabbing the lein script. This can be found on GitHub (from https://github.com/ search for Leiningen, or use your preferred search engine).