On Wed, Mar 10, 2010 at 10:24 PM, Meikel Brandmeyer wrote: > On Mar
11, 5:07 am, Brent Millare wrote:

>> Since leiningen downloads everything to a local repo, can't we do away
>> with copies and use symlinks if they are supported by the filesystem?
>> I feel there should be an option for this.
>
> Why not adding the files from the repo directly to the classpath?
> Works everywhere and doesn't copy...

Historically this has been because calculating the classpath couldn't
be done in Clojure itself since it needed to be done before the JVM
booted. Having to figure this kind of thing out in a shell script or
in elisp is a headache if the rules are not simple. But now with the
subclassloader approach that lein and mvn use it's less of an issue.
But it would mean deprecating the pure-elisp swank launcher, and I
don't know how it would affect other tools (IDEs, etc), so I'm still
hesitant.

I would be happy with a (simple-ish) patch to enable optionally
switching to using symlinks or hard-links as this would be the
lowest-impact fix, but I can't bring myself to care enough about the
number of megabytes currently being wasted to code it myself; sorry.

-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