Re: How to add jar files to leiningen projects?

2011-07-16 Thread Shantanu Kumar
Done. I have pushed version 0.3 with the changes. Regards, Shantanu On Jul 15, 2:09 am, Mark Rathwell mark.rathw...@gmail.com wrote: Looks good to me ;) On Thu, Jul 14, 2011 at 4:31 PM, Shantanu Kumar kumar.shant...@gmail.comwrote: On Jul 14, 7:55 am, Mark Rathwell

Re: How to add jar files to leiningen projects?

2011-07-14 Thread Shantanu Kumar
On Jul 14, 7:55 am, Mark Rathwell mark.rathw...@gmail.com wrote: The listing is nice...maybe would be nice to be able to limit the listing to one artifact, or a match of artifacts with wildcards, not sure if the feature would be used enough to justify the work though, but something like:

Re: How to add jar files to leiningen projects?

2011-07-14 Thread Mark Rathwell
Looks good to me ;) On Thu, Jul 14, 2011 at 4:31 PM, Shantanu Kumar kumar.shant...@gmail.comwrote: On Jul 14, 7:55 am, Mark Rathwell mark.rathw...@gmail.com wrote: The listing is nice...maybe would be nice to be able to limit the listing to one artifact, or a match of artifacts with

Re: How to add jar files to leiningen projects?

2011-07-13 Thread Shantanu Kumar
Am glad it worked for you. I have updated the plugin to version 0.2 with list functionality. Will appreciate any feedback/suggestion. https://github.com/kumarshantanu/lein-localrepo Regards, Shantanu On Jul 12, 6:40 pm, Mark Rathwell mark.rathw...@gmail.com wrote: Works great, Shantanu.  

Re: How to add jar files to leiningen projects?

2011-07-13 Thread Mark Rathwell
The listing is nice...maybe would be nice to be able to limit the listing to one artifact, or a match of artifacts with wildcards, not sure if the feature would be used enough to justify the work though, but something like: lein localrepo list *ring* would output: [ring] ring-core (0.2.0,

Re: How to add jar files to leiningen projects?

2011-07-12 Thread Shantanu Kumar
It would be ideal if it could be run outside of the project structure, as would be the case if an additional arity was added to the install function in leiningen.install. Thanks for the report -- I have pushed version 0.1.1 so it should now be possible to install it as a plugin and run from

Aw: Re: How to add jar files to leiningen projects?

2011-07-12 Thread finbeu
Hi Shantanu, thanks a lot for that! Looks great. I just downloaded it, but now lein doesn't work anymore. It fails on windows using lein.bat. Even lein new blabla fails If I remove the plugin, lein works again. Brgds, - Finn C:\Documents and Settings\finn.beutel\My

Re: How to add jar files to leiningen projects?

2011-07-12 Thread Shantanu Kumar
On Jul 12, 1:17 pm, finbeu info_pe...@t-online.de wrote: Hi Shantanu, thanks a lot for that! Looks great. I just downloaded it, but now lein doesn't work anymore. It fails on windows using lein.bat. It appears you are using Lein 1.6.0, which has a bug related to RobertHook. Can you try

Aw: Re: How to add jar files to leiningen projects?

2011-07-12 Thread finbeu
Yeah! I downgraded to 1.5.2 and now it works. Thanks a lot. Really nice. -- 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

Re: How to add jar files to leiningen projects?

2011-07-12 Thread Mark Rathwell
Works great, Shantanu. Thanks! On Tue, Jul 12, 2011 at 3:12 AM, Shantanu Kumar kumar.shant...@gmail.comwrote: It would be ideal if it could be run outside of the project structure, as would be the case if an additional arity was added to the install function in leiningen.install.

How to add jar files to leiningen projects?

2011-07-11 Thread finbeu
Hello, I have some external jar libaries that I need to import in my clojure namespace. As I just started to use leinigen, I don't understand how to add them to my project. Let's say the library resides in c:\temp\jars\mylib.jar How do I add this properly to mein leinigen project? (defproject

Re: How to add jar files to leiningen projects?

2011-07-11 Thread Mark Rathwell
To install the jars to your local maven repository (~/.m2): mvn install:install-file -Dfile=path-to-file -DgroupId=group-id -DartifactId=artifact-id -Dversion=version -Dpackaging=packaging -DgeneratePom=true Where: path-to-file the path to the file to load group-id the

Re: How to add jar files to leiningen projects?

2011-07-11 Thread Mark Rathwell
I haven't seen that it can (doesn't mean it can't though ;). It would seem to be a natural option for the 'lein install' task, to add a three argument option: [path-to-jar project-name version], where project-name is the same as in the two argument version (group-id/artifact-id). - Mark On

Re: How to add jar files to leiningen projects?

2011-07-11 Thread Alan Malloy
Maven will give you this list of instructions if you just add a dependency to project.clj, and it can't find the required artifact. So write your project.clj as though your external jars were available to maven, and then maven will tell you how to make it available. It's the same as Mark's

Re: How to add jar files to leiningen projects?

2011-07-11 Thread Phil Hagelberg
Mark Rathwell mark.rathw...@gmail.com writes: I haven't seen that it can (doesn't mean it can't though ;).  It would seem to be a natural option for the 'lein install' task, to add a three argument option: [path-to-jar project-name version], where project-name is the same as in the two

Aw: How to add jar files to leiningen projects?

2011-07-11 Thread finbeu
That was fast. Makes sense. Thanks! - Finn -- 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

Aw: Re: How to add jar files to leiningen projects?

2011-07-11 Thread finbeu
Hi Phil, leiningen is really great. I haven't used maven before so I was really scratching my head. Would be great to have an option like this so I don't have to run mvn on the command line. Thanks! - Finn -- You received this message because you are subscribed to the Google Groups Clojure

Re: How to add jar files to leiningen projects?

2011-07-11 Thread Shantanu Kumar
I have seen this local JAR thing coming up far too often, so I sat down and wrote this: https://github.com/kumarshantanu/lein-localrepo Can somebody try this and let me know if it works? Regards, Shantanu On Jul 11, 11:35 pm, finbeu info_pe...@t-online.de wrote: Hi Phil, leiningen is really

Re: How to add jar files to leiningen projects?

2011-07-11 Thread Phil Hagelberg
Shantanu Kumar kumar.shant...@gmail.com writes: I have seen this local JAR thing coming up far too often, so I sat down and wrote this: https://github.com/kumarshantanu/lein-localrepo Can somebody try this and let me know if it works? Did some simple tests on it and it looks like it works

Re: How to add jar files to leiningen projects?

2011-07-11 Thread Mark Rathwell
It works for me on OS X (at least install does), however, it requires you to be in a project directory to use. Not really an inconvenience, but it may not be completely obvious to a user installing with the intention of using the dependency in multiple projects that they won't need to repeat this

Re: How to add jar files to leiningen projects?

2011-07-11 Thread Tarantoga
You can copy your jars in the project/lib directory and add the :disable-implicit-clean true option to your project.clj file. Leiningen will not delete your jars while building the project. On Jul 11, 6:23 pm, finbeu info_pe...@t-online.de wrote: Hello, I have some external jar libaries that I