Instead of symlinks you can use hard links like every decent DVCS does for clone-style branches. Hard links are supported on NTFS, HFS, and all the Unix file systems on wide use. They are transparent to users of the file system, so you can easily make tarballs of hardlinked jars, etc, without any problems.
-Per On Thu, Mar 11, 2010 at 1:45 PM, Alex Osborne <a...@meshy.org> wrote: > Brent Millare <brent.mill...@gmail.com> writes: > >> 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. > > What benefit does this have aside from a tiny saving in disk space? > > The way it currently works has a number of benefits: > > * really simple and easy to understand! > > * you can tarball your project directory, rsync it another machine or > whatever and everything you need will be right there. No need to > worry about redownloading anything or copying your local maven cache > around. > > * you can run stuff manually just with: > > java -cp 'src:classes:lib/*' clojure.main > > * really simple and easy to understand! (worth repeating) > > Doing tricks with symlinks or having lein set your classpath magically > like Maven does just seems to be adding complexity for the sake of > complexity. > > Cheers, > > Alex > > -- > 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 -- 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