On Sat, May 12, 2012 at 11:06 AM, John Gabriele <jmg3...@gmail.com> wrote:
> After `lein self-install`, when I first ran `lein help` I get this
> output: <https://www.refheap.com/paste/2697>. Just a few questions:
>
> * What's the Clojure 1.3.0 jar required for if lein is using 1.4.0 internally?

Some of the dependencies for the plugin that provides the `new` task
declare it, and there's currently no way to prevent these from being
fetched. I believe this is also causing 1.3.0 to be active for the
repl task. This is a known issue we hope to address in preview5.

> * Why is it grabbing the Clojure 1.2.1 pom? (though I noticed it does
> not grab the 1.2.1 jar)

There's probably a version range declaration somewhere that's forcing
it to examine a number of versions even though it doesn't use them. It
has to build a full dependency graph before deciding which version
declarations actually "win".

> By the way, I like that you can now pass extra args to `lein new` to
> create a project of a specific type (such as plugin). What do you
> think of adding 2 more stock options: application and library?

What would the difference between the two be? If it's just a matter of
whether there's a :main function then it might be simpler just to have
a commented-out line in project.clj. If there are other differences
then maybe it would be justified. Note that you can publish your own
templates to Clojars, just deploy one as "name/lein-template" and it
will be used when someone runs `lein new name myproject`.

-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

Reply via email to