On Thu, Dec 18, 2008 at 12:56 PM, Phil Hagelberg <technoma...@gmail.com> wrote:
> This was one of the most disorienting things I encountered when starting
> with clojure. I'm used to codebases providing a bin/ directory or at
> least a shell script to start from. It wouldn't be so bad if the java
> CLI launcher were any good, but it's pretty lousy.

This could be rectified with an appropriate shell-script / batch file
that is part of the standard distribution. Unfortunately the nature of
Java means you need to deal with classpaths and what not. The addition
of the manifest to the clojure jar file so that it can be launched
with

$ java -jar clojure.jar

is a Win, but it could be better.

> I've been looking at hashdot, (http://hashdot.sourceforge.net/) and it
> seems to address the weaknesses of the java command in a pretty
> intuitive way that makes it seem like a first-class citizen in Unix. It
> lets you write shebang-savvy scripts, and it sets the process names so
> you get something reasonable showing up in ps and top instead of the
> jumble of alphanumerics that the jvm shows by default.

The downside of hashdot is that the developers do not distribute
binary packages, so it is up to the user to go out and download it,
get and build/install APR, and Windows users are stuck. I agree that
hashdot is a good solution, but it isn't optimal IMHO.

    -tree

-- 
Tom Emerson
tremer...@gmail.com
http://www.dreamersrealm.net/~tree

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