Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
A question about pushing jars to clojars.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Manoj Waikar  
View profile  
 More options Oct 18 2011, 8:53 am
From: Manoj Waikar <mmwai...@gmail.com>
Date: Tue, 18 Oct 2011 05:53:53 -0700 (PDT)
Local: Tues, Oct 18 2011 8:53 am
Subject: A question about pushing jars to clojars.

Hi,

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 cloj...@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?

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.

Please let me know.

Thanks,
Manoj.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Manoj Waikar  
View profile  
 More options Oct 18 2011, 1:38 pm
From: Manoj Waikar <mmwai...@gmail.com>
Date: Tue, 18 Oct 2011 10:38:37 -0700 (PDT)
Local: Tues, Oct 18 2011 1:38 pm
Subject: Re: A question about pushing jars to clojars.

I just browsed the repository and saw my updated jar there, but I get the
link by searching in clojars (which is throwing me the above error).
But still if I do a lein deps, it still downloads the old jar file.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alex Osborne  
View profile  
 More options Oct 19 2011, 3:19 am
From: Alex Osborne <a...@meshy.org>
Date: Wed, 19 Oct 2011 18:19:32 +1100
Local: Wed, Oct 19 2011 3:19 am
Subject: Re: A question about pushing jars to clojars.
Hi Manoj,

Manoj Waikar <mmwai...@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 cloj...@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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Manoj Waikar  
View profile  
 More options Oct 19 2011, 5:58 am
From: Manoj Waikar <mmwai...@gmail.com>
Date: Wed, 19 Oct 2011 02:58:29 -0700 (PDT)
Local: Wed, Oct 19 2011 5:58 am
Subject: Re: A question about pushing jars to clojars.

Oh, thanks a lot for the fix and the explanation.

That's why, the second time I was doing lein deps, I could immediately see,
copying N files to lib message, instead of seeing a more verbose message, as
we see during the first time.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »