Re: Having a major problem with Maven import in Clojure and Lein Uberjar

2013-05-25 Thread atkaaz
ok I got the command (run inside foo-two project): mvn install:install-file -Dfile=../foo-one/target/uberjar+provided/foo-one-0.1.0-SNAPSHOT.jar -DgroupId=self -DartifactId=foo-one-Dversion=0.1.0 -Dpackaging=jar -DgeneratePom=true -DcreateChecksum=true -DlocalRepositoryP

Re: Having a major problem with Maven import in Clojure and Lein Uberjar

2013-05-25 Thread atkaaz
I could be wrong if it's checking the .md5 (which probably does) I should try to update foo-one and install it in local repo, but I don't really know the command :) On Sat, May 25, 2013 at 11:11 AM, atkaaz wrote: > or let me put it this way, if I touch all the files in local_mvn_repo and > the

Re: Having a major problem with Maven import in Clojure and Lein Uberjar

2013-05-25 Thread atkaaz
or let me put it this way, if I touch all the files in local_mvn_repo and then run lein repl (or lein deps then lein repl) the newer foo-one from local_mvn_repo is not copied to .m2 folder, ergo I'll still be using the existing one (I assume you already have an existing one where you didn't define

Re: Having a major problem with Maven import in Clojure and Lein Uberjar

2013-05-25 Thread atkaaz
ok nevermind I guess it works anyway: user=> (use 'foo-two.core) nil user=> foo-one.core/bar # I notice that lein copied that self/foo-one-0.1.0.jar into my .m2 folder I wonder if somehow lein didn't do that for you and you're still using the old one check your ~/.m2/self/ folder On Sat, May 2

Re: Having a major problem with Maven import in Clojure and Lein Uberjar

2013-05-25 Thread atkaaz
quick note: the foo-one in local_mvn_repo (inside foo_two) is just v 0.1.0 without SNAPSHOT the foo-one project however is 0.1.0-SNAPSHOT On Sat, May 25, 2013 at 10:00 AM, David Williams wrote: > This is really important, and I am totally stumped and on a deadline. > Help is greatly appreciate

Having a major problem with Maven import in Clojure and Lein Uberjar

2013-05-25 Thread David Williams
This is really important, and I am totally stumped and on a deadline. Help is greatly appreciated. I have a Clojure project called red-black, which in particular contains a file called interval_tree.clj I have been compiling this project with lein uberjar and then using the resulting jar in o