clo...@clojars.org:
The problem is that if I go to the website and click on the link, it says "Thundering typhoons! I think we lost it. Sorry!" but if I include it in some other project.clj file and do a lein deps, it still downloads the jar file?Manoj Waikar <mmwa...@gmail.com> writes:
> I am new to pushing jars to clojars and I pushed one of my jars to
> clojars today. I created the project using lein new and then pushed it
> as per the docs
> mention it - lein jar, pom and scp pom.xml
> codionics.utilities-0.1.0.jar clo...@clojars.org:
>
> The problem is that if I go to the website and click on the link, it says "Thundering typhoons! I think we lost it. Sorry!" but if I include it in some
> other project.clj file and do a lein deps, it still downloads the jar
> file?
Looks like the . in the artifact name confused compojure's URL
routing. I've just pushed out an update that fixes that.
>
> Secondly, what is needed to upload an updated jar file? Do I need to
> change the version number in the project.clj? I am asking this because
> I've uploaded a newer version using the same above two steps, I can't
> still click the link on clojars site and after doing lein deps, it is still
> downloading the older
> version of the jar file.
Correct. New versions should have new numbers. The site won't actually
refuse an update under an existing number, but it will be cached by
clients. You (and everyone else who's downloaded your jar) would have
to manually remove the file from the cache on your PC (stored under
~/.m2/repository).
Hope that helps,
Alex