On Fri, Mar 26, 2010 at 10:31 AM, Saul Hazledine <shaz...@gmail.com> wrote:
> The article reads to me as, "don't reinvent the wheel, everyone should
> use maven." Personally I disagree with this because maven
> configuration is much harder than it needs to be.

I think there's a misconception that's been spread that since
Leiningen is written in Clojure, it's a break from the existing
ecosystem. In truth Leiningen is mostly just a wrapper around Stuart
Halloway's Lancet library (to use ant tasks) and the maven-ant-tasks
library that provides dependency management. There are a few tasks
that are implemented from scratch like "clean" because it's so trivial
or "compile", "new", and "test" because they're Clojure-specific, but
the rest of them rely on existing implementations.

For the record, Leiningen is currently around 700 lines of code and
was basically feature-complete after two weeks of evening and weekend
work.

It is true that projects that need to produce output that's more
complicated than a jar or uberjar right now aren't served well by
Leiningen out of the box, but that's simply because my own needs
haven't included that and I haven't gotten to it yet, not because I
believe that relying on ant or maven APIs is "icky" somehow. Some
people have taken steps towards reimplementing this in pure-Clojure,
and that may or may not be wise depending on the trade-off of how much
time it takes to implement vs how much time it would take to leverage
an existing solution. Ant tends to have the advantage over Maven in
that case because Maven's dependency injection framework makes it
rather hostile to call out to from Clojure, but the Ant ecosystem is
rich enough that it should provide enough for most projects.

-Phil

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

To unsubscribe from this group, send email to 
clojure+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to