I'm confused. Why do we need symlinks or copies at all? Why can't we just tell clojure where it's supposed to find a given projects dependencies? I'm sure the answer involves some mumbo-jumbo about classpath and what not, but surely there has to be a better alternative than whatever maven/leiningen are currently doing.
Not if we want to precompile code and create an überjar, or otherwise integrate with Java. Ultimately, tools expect a pile of jars listed in the classpath. Management of those jars is easier if they're (actually or virtually) in one place.
I'm from a CL background too, and I do long for the days of the continuum from a load script through to ASDF and friends, but at some point it makes sense to give up and do things The Java Way.
Even simple things like log4j.properties are looked up on… you guessed it: the classpath. It's not a battle that's worth fighting.
On a related note, why is the build system the cool kids seem to be using (leiningen) controlled by a bunch of shell scripts? Surely things like compiling .clj source files and making jars should be operations one can drive from the clojure repl, no?
It's a shell script wrapping a bunch of Clojure code. I'm sure you could use Leiningen as a library: each task is simply a function which calls out to Maven or Lancet.
Oh, and on a related note, I hate being forced into the src, test, lib heirarchy... Let me put my files where I want them to go. Whatever happened to the lancet build system from Stuart Holloway's book? That seemed to make sense to me.
That's convention over configuration (though you can put alternatives in the Leiningen project.clj file).
It's one of those things where it's easier to go with the flow, I'm afraid.
-- 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