Re: Using local jar

2013-02-20 Thread Jarod
It worked after I installed leinigen 2, then ran the same commands that I listed in my previous post. Ben, I'm not sure why the "deploy" command gave the same error, but I appreciate your detailed response. KK, if I have more problems in the future, I'll be sure to try your recommendation. T

Re: Using local jar

2013-02-19 Thread Benjamin R. Haskell
On Sun, 17 Feb 2013, Jarod wrote: James, Aaron and Jim: thanks for your help, but it still get the old error message and another: "Leiningen managed dependencies issue: problem resolving following dependencies: [jaad/jaad "0.8.4"]".  If anyone has time, my lein version is 1.7.1 and maven versi

Re: Using local jar

2013-02-19 Thread kiran kulkarni
Hello Jarod, I would suggest using lein-localrepoplugin. It handles all the complexity for you. Just follow the README and you will have the jar in your local repository. On Mon, Feb 18, 2013 at 1:47 AM, Jarod wrote: > James, Aaron and Jim: than

Re: Using local jar

2013-02-17 Thread Jarod
James, Aaron and Jim: thanks for your help, but it still get the old error message and another: "Leiningen managed dependencies issue: problem resolving following dependencies: [jaad/jaad "0.8.4"]". If anyone has time, my lein version is 1.7.1 and maven version is 2.2.1 and I used the followin

Re: Using local jar

2013-02-17 Thread Jim - FooBar();
Even though what Aaron said is correct, I'll just add that with lein2 you can get away with not "installing" your jar in ~/.m2/. Just use the :resource-paths key in your project.clj and point to a folder with 'orphan' jars...something like this: :resource-paths ["orphan-jars/*"] ;;all jars un

Re: Using local jar

2013-02-16 Thread Aaron Cohen
Also, reading further on the blog, for lein2 you need to change mvn install:install-file -Dfile=jaad-0.8.3.jar -DartifactId=jaad -Dversion=0.8.3 -DgroupId=jaad -Dpackaging=jar -DlocalRepositoryPath=maven_repository to mvn deploy:deploy-file -Dfile=jaad-0.8.3.jar -DartifactId=jaad -Dversion=0.8

Re: Using local jar

2013-02-16 Thread Aaron Cohen
I'm not sure if this is your problem, but a newbie might not realize one thing from that blog post. After doing all the steps there, you still have to add the dependency for that artifact in your project.clj I don't know how you named your local jar, but for their example you would need to add :

Re: Using local jar

2013-02-16 Thread James Xu
you should import the fully-qualified class name(e.g. com.mycompany.ClassA), rather than the file system directory name 发自我的 iPhone 在 2013-2-17,7:06,Jarod 写道: Hi. This is a really basic question, as I'm new to Clojure and Java. I'm trying to use a jar file for Stanford's NLP software that isn

Using local jar

2013-02-16 Thread Jarod
Hi. This is a really basic question, as I'm new to Clojure and Java. I'm trying to use a jar file for Stanford's NLP software that isn't available on Maven. I successfully ran the commands from this website: www.pgrs.net/2011/10/30/using-local-jars-with-leiningen/ to create a local maven rep