Re: feeding leiningen a local JAR file

2013-06-09 Thread Korny Sietsma
That looks very helpful, thanks. I've been bitten by this hard in the past - I wanted to play with a few different Processing jars in Quil, none of which had Maven versions; and even using lein-localrepo, it was excessively complex to add these jars to my local maven repo just so I could play

Re: feeding leiningen a local JAR file

2013-06-08 Thread Niels van Klaveren
Leiningen uses the pomegranate libraryhttps://github.com/cemerick/pomegranateto manage dependencies and classpath. You can use this library from your project (or even the REPL) to load jars or put extra directories on the classpath, if you don't want to put them in your local repo. Something

Re: feeding leiningen a local JAR file

2013-06-08 Thread Jay Fields
David Chelimsky recently released: https://github.com/dchelimsky/lein-expand-resource-paths On Friday, June 7, 2013 10:37:46 PM UTC-4, David Williams wrote: Try here http://nakkaya.com/2010/03/16/adding-custom-libraries-into-local-leiningen-repository/ On Wednesday, November 21, 2012

Re: feeding leiningen a local JAR file

2013-06-08 Thread PlĂ­nio Balduino
I'm using the localrepo plugin. On Sat, Jun 8, 2013 at 3:10 PM, Jay Fields j...@jayfields.com wrote: David Chelimsky recently released: https://github.com/dchelimsky/lein-expand-resource-paths On Friday, June 7, 2013 10:37:46 PM UTC-4, David Williams wrote: Try here

Re: feeding leiningen a local JAR file

2013-06-07 Thread David Williams
Try here http://nakkaya.com/2010/03/16/adding-custom-libraries-into-local-leiningen-repository/ On Wednesday, November 21, 2012 3:47:40 AM UTC-8, Dick Davies wrote: I've got a couple of projects that need a newer version of a JAR than is available in Maven. Is there any support/syntax

feeding leiningen a local JAR file

2012-11-21 Thread Dick Davies
I've got a couple of projects that need a newer version of a JAR than is available in Maven. Is there any support/syntax in project.clj that will allow me to point at a local JAR file? Also, is it possible to 'override' a given dependency to favour a local JAR over the 'official' maven one? [

Re: feeding leiningen a local JAR file

2012-11-21 Thread Jim foo.bar
On 21/11/12 11:47, Dick Davies wrote: Also, is it possible to 'override' a given dependency to favour a local JAR over the 'official' maven one? just install the jar into your local maven repo (~/.m2/) (with identifiable name) and then pull it from whatever project you want. I think

Re: feeding leiningen a local JAR file

2012-11-21 Thread Shantanu Kumar
On Wednesday, 21 November 2012 17:17:40 UTC+5:30, Dick Davies wrote: I've got a couple of projects that need a newer version of a JAR than is available in Maven. Is there any support/syntax in project.clj that will allow me to point at a local JAR file? Also, is it possible to

Re: feeding leiningen a local JAR file

2012-11-21 Thread Dick Davies
Thanks, that's helpful to know (I was a java dev a long time ago, before Maven took over the world), but really I wanted to isolate this hack to a specific project directory, rather than globallly. On 21 November 2012 12:00, Jim foo.bar jimpil1...@gmail.com wrote: On 21/11/12 11:47, Dick Davies