library development

2013-12-20 Thread Bob Hutchison
Hi, I’m missing something. And it’s annoying me. Let’s say I’m working on three or four projects and there’s some code that really should be developed as a library and used by each of the projects. A similar thing happens if I fork a library from github. I don’t want to make any of this code

Re: library development

2013-12-20 Thread Daniel Higginbotham
lein install actually installs your library ~/.m2/repository in addition to creating the pom and jar. That should be all you need to do. On Friday, December 20, 2013 9:09:32 AM UTC-5, Bob Hutchison wrote: Hi, I’m missing something. And it’s annoying me. Let’s say I’m working on three or

Re: library development

2013-12-20 Thread Tim Visher
Maybe using lein checkouts is also something that would interest you? https://github.com/technomancy/leiningen/blob/master/doc/TUTORIAL.md#checkout-dependencies On Fri, Dec 20, 2013 at 9:22 AM, Daniel Higginbotham nonrecurs...@gmail.com wrote: lein install actually installs your library

Re: library development

2013-12-20 Thread John Gabriele
Ah, neat. This works great! If I can just `lein install` my libs (or other people's libs) and then use them in all my projects (just like the libs found at clojars), what extra functionality does lein-localrepo provide beyond that? -- John On Friday, December 20, 2013 9:22:30 AM UTC-5,

Re: library development

2013-12-20 Thread John Gabriele
On Friday, December 20, 2013 9:22:30 AM UTC-5, Daniel Higginbotham wrote: lein install actually installs your library ~/.m2/repository in addition to creating the pom and jar. That should be all you need to do. On Friday, December 20, 2013 12:16:59 PM UTC-5, John Gabriele wrote: Ah, neat.

Re: library development

2013-12-20 Thread Tim Visher
On Fri, Dec 20, 2013 at 12:16 PM, John Gabriele jmg3...@gmail.com wrote: If I can just `lein install` my libs (or other people's libs) and then use them in all my projects (just like the libs found at clojars), what extra functionality does lein-localrepo provide beyond that? lein-localrepo

Re: library development

2013-12-20 Thread Bob Hutchison
On Dec 20, 2013, at 9:22 AM, Daniel Higginbotham nonrecurs...@gmail.com wrote: lein install actually installs your library ~/.m2/repository in addition to creating the pom and jar. That should be all you need to do. [message was bounced earlier…] Thank you. You’re right. As it happens, I

Re: library development

2013-12-20 Thread Mimmo Cosenza
I used localrepo as Timmy said: - to install in the local maven repository a native dynamic c++ lib and its corresponding java wrapper - to makes it available to all my clojure/java projects requiring to use that lib (artifact in maven parlance) It works like a charm. Here you can find a

Re: library development

2013-12-20 Thread Shantanu Kumar
Author of lein-localrepo here. Just to mention few points: 1. Leiningen builds over Maven's transitive dependency management system. So, I guess at some point of time you just have to accept Maven's nomenclature. 2. `lein install` works when you have source code and a `project.clj` for your

Re: library development

2013-12-20 Thread Phil Hagelberg
On Friday, December 20, 2013 9:16:59 AM UTC-8, John Gabriele wrote: If I can just `lein install` my libs (or other people's libs) and then use them in all my projects (just like the libs found at clojars), what extra functionality does lein-localrepo provide beyond that? It used to be