Skip to content
This repository

classifier distinction #645

Closed
miner opened this Issue June 17, 2012 · 5 comments

4 participants

Steve Miner Phil Hagelberg Michael Klishin Nelson Morris
Steve Miner
miner commented June 17, 2012

I'm using Leiningen 2.0.0-preview6. It looks like I can't get both the normal jar and the source jar into my classpath. I have dependencies like this:

[org.clojure/clojure "1.5.0-alpha2" :classifier "sources"]
[org.clojure/clojure "1.5.0-alpha2"]

But only the first one gets on my classpath. I'm guessing that duplicates are being removed without respect to the :classifier.

Michael Klishin
Collaborator

It may be something not supported yet by pomegranate (a library Leiningen 2 uses to resolve and manage dependencies)

Phil Hagelberg
Owner

No, this is a flaw in the profile merge logic. Should have a fix in a few days.

Nelson Morris
Collaborator
xeqi commented June 17, 2012

A similar problem exists for :extension.

Phil Hagelberg technomancy closed this in 8d5b869 June 18, 2012
Deleted user

The content you are editing has changed. Reload the page and try again.

Maybe @laurentpetit could confirm if this is fixed in ccw, because it seems to not be, only the first line(regardless or order) is considered

Sending Request…

Attach images by dragging & dropping or selecting them. Octocat-spinner-32 Uploading your images… Unfortunately, we don't support that file type. Try again with a PNG, GIF, or JPG. Yowza, that's a big file. Try again with an image file smaller than 10MB. This browser doesn't support image attachments. We recommend updating to the latest Internet Explorer, Google Chrome, or Firefox. Something went really wrong, and we can't process that image. Try again.

Deleted user

The content you are editing has changed. Reload the page and try again.

actually, now that I look at the test in that commit, that's exactly how it's supposed to work: only first line is meant to remain, which unfortunately acts as if the dependency is not included in eclipse+ccw (no errors in project.clj though)

Sending Request…

Attach images by dragging & dropping or selecting them. Octocat-spinner-32 Uploading your images… Unfortunately, we don't support that file type. Try again with a PNG, GIF, or JPG. Yowza, that's a big file. Try again with an image file smaller than 10MB. This browser doesn't support image attachments. We recommend updating to the latest Internet Explorer, Google Chrome, or Firefox. Something went really wrong, and we can't process that image. Try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.