On 30 June 2010 22:44, Steve Molitor <stevemoli...@gmail.com> wrote:
>>> the true launcher will always be the java JVM executable, and I'm
>>> not sure this is something we should really try and hide.
>
> I think it should be hidden, at least for newbies.  Maven hides it - I
> invoke 'mvn' and have no idea how it invokes java.  I don't know what jars
> it puts in the classpath, etc., and I don't need to know.  Lein hides it too
> and I like that.
>
> Ideally a clojure installation package would include lein and a launcher
> that utilized lein for clojure-contrib.jar etc.

Yes, and this is what I've been trying to argue all along... that
lein, with its simplified classpath management/jvm options is probably
the best option for beginners.

My point about the JVM being the true launcher, is more that I don't
think it's Clojure's responsibility to try and dictate how the VM is
invoked, by a script or otherwise.  There are many ways to invoke
Clojure (lein, mvn, nailgun, shell script, java -cp, java -jar etc...
from inside a java program etc... ) though confusing, each has its own
merits.  And new users will soon need to understand whats going on
underneath.

I'm not saying there shouldn't be a "preferred route" for newcomers to
play with Clojure and have this taken care of for them; I just think
Clojure itself should ship without it, with the only assumption being
it's a jar on the classpath.

R.

-- 
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